The United States Supreme Court on Friday upheld a law that has the potential to lead to a ban of TikTok in the U.S.