Alibaba said the total investment amount exceeds the company's spending in AI and cloud computing over the past decade.