The big picture
It's true that producing solar and wind devices does require material and energy input that is currently largely supplied by fossil fuels but once they are in place, other than normal maintenance, they don't require additional fuel input to produce energy. And potentially much the energy required for their production could be supplied by already built solar/wind. I wonder how much the fact that solar and wind have zero fuel cost affects their EROI.