People interested in and passionate about transportation in cities have long been warning that it doesn't solve anything if you just replace every combustion engine car with a (likely bigger) electric car, and incentives for them are wholly absurd in urban spaces.
The thing is that there are multiple things that are problems and which can have independent(and even contradictory) solutions. Like for instance - cars cause noise and pollution in cities where people live and breathe.
Solution: give large incentives for people to buy EVs instead, so you solve the noise and pollution problems(not entirely, but in a large part).
But obviously that does nothing to the lack of parking spaces, people using/not using public transit, cycling etc etc etc. It's just one of the sides of a very complex cube.