Energy costs are THE driving force of prices. The cost of materials is essentially the energy it takes to squire/process/ship them. If energy was free, we would just dig up random patches of dirt and sift it for every material we wanted even in trace amounts. But its not because unfortunately, we are still primarily a fossil fuel economy for many reasons (legacy, price, chemical properties) and their cheap price relative to labour is acting as a subsidie to renewables pricing. So if the availability of fossil fuels deminishes it seemed logical that the price of inputs goes up and so too would renewable manufacturing. We would then see an inverted bell shaped curve on pricing over time. I have long suspected we would see this trend of lowering prices revert around the 2020s. So far I have been pleasantly wrong.
But fossil fuels like almost all minerals is fighting an uphill battle on availability and ore quality as we used the best stuff first. The US isnt fracking at the pace it is because they just wanted a laugh. It is due to the primary "conventional" stuff couldnt keep up. But that is a whole different issue.
If renewables were offsetting fossil fuel usage, this wouldnt be a problem but it is merely being added on top of it. Thus Jevons paradox in full swing. If we can over come that then this whole idea can be thrown in the recyling bin.
When we can make a solar panel with the outputs of a solar panel, then that is the escape velocity moment. And I don't just mean counting the joules and ignoring the energy fungability.
I am much more optimistic about this in the last few years but im not sure we are there yet. It is looking reasonable now.