AI hype has seized the stock market, leading to comparisons with the dot-com bubble of the late 1990s.