Chief Justice Roberts wrote that the law upholds constitutional due process by tying jurisdiction to activities that implicate U.S. foreign policy prerogatives.