China says TikTok’s US app will use Chinese algorithm

Agreement with Washington includes ‘licensing the algorithm and other intellectual property rights’, says Beijing official