The dot-com bubble taught investors to be wary of stock-market rallies powered by a technological boom—that is, until generative artificial intelligence sent tech stocks soaring this year. Shares of Nvidia, the graphics-chip maker at the heart of the frenzy, have nearly tripled in 2023, while the …


