A slew of the world's largest food companies have pledged to stop advertising junk food to children under the age of 12 throughout the EU by the end of next year as the industry bids to help alleviate childhood obesity.