SEOUL—The notoriously volatile memory-chip industry is entering an extended boom period thanks to artificial-intelligence business with the likes of Nvidia and OpenAI.