TikTok has threatened legal action against the US after President Donald Trump ordered companies to stop doing business with the…