Your story is atypical given that you live in an area that's a)difficult to drive in (lots of traffic, little parking), b)incredibly well-connected by about half a dozen public transport options. You shouldn't be making generalisations that no one needs a car anymore just because you don't.
so the minority of users, seeing as 2/3rd of the population don't live in a Urban and suburban area.
I live in a Rural area in the UK, i have a 20 mile commute to work, and its 6 miles to the nearest city. There is 2 bus services that run though the "town" I live in both run one an hour and take about about an hour to to get anywhere useful.
I would be unable to work, and get around without a car, I live where i do because it was one of the few places i could afforded to buy a house in the area that I live, that was also close enough to where i work.
If they want to get rid of fossil fuel cars, then by 2040 they need to have far longer range than they do now. To me that seems to be far more important than public transport.
By 2040 you can probably hail autonomous EV taxis whenever you need one.
Also note that you choose to increase your carbon footprint (an externalized cost hitting everyone) so you could have a cheaper home. It's not exactly unfair that people who made such a choice might end up with a slight disadvantage.