Food delivery platforms Doordash, Grubhub and Uber Eats sued New York City late on Thursday over legislation that permanently places a cap on fees and commissions the platforms can charge restaurants using their services.