He has rattled European allies by saying NATO is obsolete, widened a rift with China by questioning a policy acknowledging its authority over Taiwan and taken a rather lax attitude toward U.S. intelligence reports of Russian hacking in the presidential election.