Apple wins the rights to broadcast Formula 1 in the United States for the next five years in deal said to be worth about $750m (£558m) in total.