Anheuser-Busch has agreed to cease production of caffeinated alcohol beverages, following pressure from several US states.