Demand is elastic. If the price of potatoes rises to $1000 / kg most people will switch to using pasta or rice for their dinner instead. There might be a shortage of potatoes at $1 / kg, but not at $1000 / kg.
If my 7-year-old computer were to die tomorrow I would've normally replace the entire thing. It has had a good life, the newer generations of hardware are a decent bunch faster, and it would be nice to get some additional features. With current RAM prices? No way I can afford to upgrade to DDR5, I'll have to get a replacement AM4 motherboard / CPU to fix it.
> I don’t believe scalpers are an issue in B2B
They are called "speculators". DRAM is a commodity and is traded no different from, say, potatoes. It's why there are companies like DRAMeXchange. DRAM module assemblers like Kingston, G.Skill, and Corsair will buy chips from whoever gives them the best deal. Similarly, anyone assembling hardware using DRAM will have stockpiled it when the AI boom became noticeable - with some almost certainly selling it off now that it has become too valuable to use for cheaper products.