TikTok is suing the U.S. government over a potential ban that could impact millions of American users.