The shakeup in the AI space has spread waves across the stock market. Here’s what investors need to know.