Demand for semiconductors has gone through the roof, driving up stocks of chipmakers almost 70% this year. Manufacturers like Micron and Samsung are more disciplined than in previous cycles. But they are still heavily dependent on booming demand for artificial intelligence.

