The Supreme Court unanimously affirmed a Friday law requiring TikTok’s parent company in China to divest itself from the app.…