If electric cars were such a great deal then you wouldn’t need taxpayer funding of any sort. Obviously, electric cars are not worth the money since it takes taxpayers to fund them.
The same is true for many other gas powered cars as well, actually even gasoline is subsidized by the government. We are pretty far from living in a world that is perfectly marketable. Now that actually leads to a bigger question as to why the government would subsidize gasoline to make it cheaper than it would be on its own, when plenty of politicians call it evil.