But the thing is these materials represent a lot of greenhouse gases in their production. In the case of solar panels because of the whole industry related to their production, and in the case of wind because of the sheer amount of material, most of which is either (1) metals reduced with coke, or (2) concrete which outgassed massive amounts of CO2 when it set.
And they are not being reused or recycled.