The US Supreme Court on Friday upheld a law that bans TikTok, the video sharing App, from Sunday unless it is sold by its Chinese parent company.