If you don’t like this, don’t go.
Then there's the whole spectrum of space in between. What about order-at-counter but the food is brought to you when it's ready, but you then clean up after yourself? What about a buffet, where you pay at a counter, serve yourself, but someone comes and cleans up your plates?
An alternative heuristic that I've heard is that if you pay in advance than tipping is optional, while if you pay at the end it's required, but that doesn't cover Doordash.
There are clear cut cases where tipping is required, and a whole fuzzy mess in between. And that fuzzy mess gets fuzzier and messier each year as companies intentionally blur the line.
If the tipping is actually mandatory, then build it into the price to begin with. That way, perhaps tipping can go back to being an actual expression of thanks.