If a restaurant doesn’t like the cut taken by DoorDash they’re welcome to not participate in DoorDash. As far as I know, neither company has ever forced a restaurant into participation.
You're assuming that a sum of a finite number of voluntary transactions adds up to a voluntary system, but this doesn't actually work. The whole is not equal to the sum of its parts.
DoorDash has absolutely added restaurants without consent, the other food delivery apps as well, they call them non partnered listing. California, Colorado, and maybe other states have passed laws against it.