McDonalds, Burger King and other fast food outlets in the US have pulled yellow onions from the menu after the vegetable was linked to a deadly E. coli outbreak at a McDonalds in Colorado.