China and the U.S. are racing to control the future of artificial intelligence, and AI chips are a central focus. That rivalry threatens the AI stocks that have defined the recent market.