Alibaba has secured a major deal with Apple to power iPhones in China with its artificial intelligence (AI)…