The city of Chicago filed a wide-ranging lawsuit against DoorDash Inc. and Grubhub Inc. on Friday, accusing the meal-delivery platforms of engaging in deceptive and predatory business practices.