A deal was being worked to sell TikTok to American investors, but fell apart once a tariff and trade war was triggered this week.