In ruling Friday on the future of the social-media app TikTok, the Supreme Court understood it was dealing with a novel issue. “We are conscious that the cases before us involve new technologies ...