Investors are increasingly drawing comparisons between today's AI-fueled stock market rally and the dot-com bubble of 1999.