And generation of those devices (not to mention disposal) of them doesn't?
I recently saw a report where ONE business was trying to deal with over 67 MILLION tons of solar panels (limited to the US) that would normally go into a landfill (that does NOT county the number of panels that actually DO end up in a landfill) And that was only a SMALL portion of what is generated as a waste product.. Never mind the forecasted 43 MILLION tons of waste annually simply from wind turbine BLADES (not anything else, just the blades).
Like to acknowledge it or not.. ALL forms of energy end up with a "dirty" by-product, and most of them also "pollute" for the generation of their product. The only thing is you don't see solar/wind "puffing" smoke out of a stack... so it's easy to ignore.
That's similar to these companies that want to "brag" about how "green" they are because they use solar/wind... never wanting to acknowledge the impact that those solution have on our environment.. you want the "ultimate" in environment friendly... nuclear/fusion is the way to go. And even THEN there is a negative by-product in nuclear (we haven't reached fusion stage yet).