The Uber Eats / Doordash execs are not losing money, even if the company is. They're rich as fuck and building their fortune on quasi-slave labor from thousands of immigrants who patrol the streets with bikes/motorbikes all night long for poor wages
The restaurants lose by having to deal with fucking algorithms and a non-existing company support. They get to deal with angry customers when the app accepted payment for something that's not available today, or when the shop has already closed, for example.