Its hilarious how often people who bring up "the market can stay irrational longer than you can remain solvent" also believe in the free market being capable of solving any- and everything. Claiming breathlessly that the efficient market hypothesis is true while also stating the market can be irrationally/inefficiently allocated longer than someone who knows better can remain solvent. Efficiency is not usually tied to irrational behavior.
In this context, I'm strictly arguing there isn't a problem that needs to be solved. While there is a limit on resources, we haven't reached that limit nor will we in the short term. So, even if the market is using our current resources inefficiently it doesn't matter because there's an excess of supply (in a raw materials aspect, sure there's a chip shortage but the earth didn't run out of sand).