The US Supreme Court upheld a law that mandated the sale or ban of TikTok, rejecting an appeal from the app's owners, who argued that the ban infringed on the First Amendment.