The RAM shortage is extremely temporary. It’ll last as long as it takes for new capacity to come online. RAM shortages and price spikes have happened many times before.
Eventually China will catch up in EUV fabrication and flood the market with cheap silicon. When that happens a terabyte of RAM will cost what 128gb costs now.