As AI fuels unprecedented chip spending, the memory industry faces growing fears of repeating its boom-and-bust past.