The artificial intelligence (AI) investment wave has taken a downturn over the past few weeks. The stock market has sold off across the board, and AI stocks have taken a bit more of a beating.