
President Donald Trump had nearly clinched an agreement with TikTok’s Chinese owner ByteDance Ltd. that would spare the popular app from a US ban, but the deal was scuttled after China withheld its approval following this week’s tariff announcement, according to a person familiar with the matter.