Tim Cook's visit to Hangzhou, China's artificial-intelligence epicenter and home to artificial-intelligence disruptor DeepSeek, is happening as Apple lags behind its rivals on AI.