I'm detecting a lot of uninformed opinions in this thread...
Clean energy doesn't exist... it is a salespitch and many of the most "Environmentally friendly" energy sources have been worse then pollution factories.
And I am not supporting pollution factories so much as saying that... just because something says "clean energy" it doesn't mean it is.
Clean is a very tricky term, usually when people say clean energy they mean "cleaner" energy than what's currently in use. While there are some environmental risks involved in the production of electronics such as photovoltaics and large batteries, overall they hardly compare to the constant emissions of combustive power plants.
Something I've never found satisfactory numbers for is the amount of pollution produced making sufficient batteries to power an electric car, compared to the emissions of a traditional car over the total period of use.
Electric cars aren't powered by hundreds of common batteries. They're powered by one really big one that acts as the "gas tank" if you will, which must be recharged when it runs low. Lithium is about as common an element as you can get, and is often extracted from salt deposits or even seawater, but large, long-lived rechargeable batteries currently require rarer metals, namely Lanathium. Like anything that must be mined out of the earth, they need mines to reach, and mines have all sorts of problems. Most electronics involve toxic chemicals at some stage of their production, and there is always a chance of some of those not being properly disposed of. However, the emissions involved in creating any kind of car will always pale in comparison to the emissions produced in using hydrocarbon-powered cars.
The main emission problem in electric cars comes from actually supplying them with power. They use electricity from the grid, but the vast majority of energy in the grid is still produced by fossil-fuel-burning power plants. Unless the power plants themselves are replaced with less emissive ones, switching every car to electric only means the gas is burned somewhere else.