I grew up in a small town of less than 6000 people and we had bus lines connecting it to larger cities and a bus line that went around the town as well, I never had to take a car anywhere and you usually didn't see more than 3 cars at once because everyone either walked or took the bus.
The problem with EVs is that won't be adopted at a rate to make a difference while building public transit could happen faster so as a stopcap they do nothing currently and probably won't until it's too late either while only working as a distraction while public transit could be just be built with the same political will behind it as EVs have.
Getting everyone to switch to EVs is not happening in several decades, for example here in Estonia people mostly buy old used cars because new cars are ungodly expensive EVs even more so, I have seen one EV in 10 years.