It's certainly the case that most wind and solar hardware today is made in countries that are mainly fueled by fossil energy. That shouldn't be surprising given the global primary energy shares of oil, gas and coal. China, where with Taiwan > 2/3rds of all PV modules are produced, is a prime example. And even though wind turbine manufacturer Vestas's home country, Denmark, has a high penetration of wind electricity, around 80% of its total energy is still from fossil fuels.
One might argue that this is a result of legacy infrastructure, rather than any inherent requirement of such manufacturing. All you'd need would be a 100% available/reliable non-fossil energy system. An article from Third Way shed some light on what that would take with renewables, including "significant overbuilding of generation, costly grid upgrades and storage expansion, and a huge build-out of transmission." My take is that would be very expensive, and as such further constrain the growth of these technologies, overall. I.e., we can close the loop, but the loop would be smaller.
Perhaps building PV with coal-fired electricity is just a form of bootstrapping.