Full-service restaurant margins are more like 3-5%, fast-food are more like 6-9%...at least in the US.
You need to understand restaurant economics before you start arguing restaurant economics. Saying DD takes 30% is way out of the ballpark, especially since DD actually charges you more than the retail cost of the dish.
I don't think they're necessarily wrong when they say "shaves off 30+%" but it does seem to be a conflation between what DoorDash takes as a mark-up from the customer on an order and what DoorDash takes from a restaurant to fulfill it. I suppose an argument could be made that this is missed potential revenue if customers are willing to pay it, but afaik it is not taking 30% from the restaurant. Seems much more like the Apple App store cut.
What I find most egregious is the cut taken by DD or UE etc.. for simply taking the order but not doing the delivery part. It's the same mark-up, but the only service you get is replacing a phone call. A $50 Uber Eats gift card is embarrassingly less efficient than a gift card directly to the restaurant, because you get sometimes significantly less food for your money