Investors are rotating out of artificial intelligence (AI) stocks, causing a massive sell-off in the Nasdaq.