CNBC's Jim Cramer explained that the recent run-up in AI related stocks may be a warning sign about the broader market.