Tencent Holdings extended its streak of double-digit profit growth in the first quarter despite the Chinese tech giant’s ballooning investments to stay ahead in China’s artificial-intelligence race, though revenue growth slowed. Tencent was previously focused on leveraging the technology to boost productivity and reduce costs across various businesses.