DeepSeek’s breakthrough in artificial intelligence is helping drive a rotation of stock funds back into China from India.