For more than two years, nearly any stock tied to artificial intelligence (AI) was sizzling hot. That's no longer the case.