TikTok is set to shut down in the US within 24 hours following a Supreme Court order, affecting over 170 million users.