But while sunshine and wind are obviously clean, the infrastructure we need to capture it is not. Far from it. The transition to renewables is going to require a dramatic increase in the extraction of metals and rare-earth minerals, with real ecological and social costs.