My daughter has done some research in the area or renewable energy and last I heard, it takes more energy to manufacture solar cells and wind components than they are capable of ever producing in their lifetime.
And they are, or have been, very polluting, which is why for so long, the stuff was manufactured overseas. It was because it could not be done here cleanly enough to meet US government standards.