I'm not following this logic. That $20B created a million vehicles (and counting) that release much less pollution over their lifetime than $20B spent making ICE vehicles.
It's a reasonable point, our economy is energy based and so the more you spend the bigger the environmental impact. We are trying to decouple it but we have a long way to go yet.
And what does this have to do with whether their products are good for the environment anyway? Whether it makes sense to take on debt to establish a new business seems completely orthogonal.