There are no perfect solutions, but there are often better solutions. Electric is better than internal combustion private vehicles, sure! But avoiding investment in public transport in favour of electric vehicles is also just not helping to the extent that we need.
EVs → nearly as shitty as cars with an exhaust (+ introduces lithium problems & power plant emissions). Not even close to perfect. Merely calling them “imperfect” misses the point. They’re not even good.
Public transport → significantly better than EVs, but still quite shitty on the environment.
Bicycles (e-bikes) → significantly better than public transport (but demand lithium).
Bicycles (push bikes) → nearly perfect.
Walking → perfect (if you don’t fart). But ⅓ the efficiency of cycling.
That's the point, it's not perfect at all, but it's better, so let's take that solution for now and work on the next problem
Public transports can do a lot, but it can't do everything, same for bikes and walking. If we start rejecting every progress because it's not good enough then we won't ever progress.