The deal, which will keep the video-sharing app TikTok available in the US, was approved by the Trump administration after it threatened to ban it over security concerns.