> For example check the number of restaurants that hire their own drivers now.

Before DoorDash, other than pizza places (who still run their own drivers), what restaurants delivered? McDonald's tried delivery for a short period of time, but other than that, nobody delivered.

Individually some restaurants did hire their own delivery workers. I distinctly remember this being more common in larger cities with Chinese restaurants for some reason being most prominent, maybe because takeout led to packaging food in easily transportable containers, so an intuitive evolution seems probable, though the practice dates back at least a century in India.