Sullivan & Cromwell and Wachtell Lipton Rosen & Katz are among a clutch of firms advising on Amazon’s $13.7bn (£10.7bn) purchase of Whole Foods Market, as the online retail giant moves into the grocery business and physical stores.