Anheuser-Busch InBev has agreed to sell four beverage can plants to Ball, the global packaging giant, for US$577m.