Luckily, density is what makes mass transit viable. It's more cost effective to run a driverless metro every three minutes in an urban core than to run a mostly-empty bus once an hour in a distant suburb.
Up to some point, and it's not even that high...
What really makes mass transit viable is integration.