There is no 100% clean way to make energy, and all methods have varying environmental impacts. But solar and wind are significantly cleaner than oil and coal, and otherwise have lower environmental impacts, even accounting for their life cycles. The nice thing about solar/wind/battery is that a lot of it is recyclable: the copper, silicon, lithium, etc all have high recyclability. When you burn oil and coal, it's gone forever, leaving behind a lot of nasties that have to be dealt with. Besides that, fossil fuels are dead-ends; they have an eventual expiration date, and the later we wait to deal with that the more expensive it will get.
This is the worst-case scenario in a country like China, where coal is the dominant fuel for making the electricity that powers the car. In the US, the break-even point is around 14,000 miles.
Most states require power companies to buy back excess power at the full retail rate. I think this is misguided, they should only pay the wholesale rate. The difference between wholesale and retail is the money used to pay for the infrastructure.