There is a little something that's missing from the analysis above: what people actually want. And what many people want, across many cultures once they reach a certain level of wealth, is the suburban home: low density living in isolated housing units set in a park like environment with ample greenery. Just look at almost any billionaire's mansion and you will see this pattern which becomes an aspiration for the middle class. Most people, given enough wealth, desire and choose the McMansion.
This choice, replicated across millions of families, has massive implications: urban sprawl and low density make transit unworkable, shops need large catchment areas that can't no longer be reached on foot or bike, and it all devolves into car dependency. These communities will need point to point transport for the foreseeable future.
So you either double down and hand-wave reality away "no, we'll just build high density housing along transit corridors", or you accept that people won't magically do what you think is right, and find real solutions. Electrifying cars is the low effort solution, but we could imagine making point to point transport more like public transit, for example, a Boring company Loop- type system where pods exit the tunnels and complete the last mile on the street level, of where self-driving taxis get you to a multi-modal terminal where you can catch a traditional train for the city center.