The president has shifted the foundations of American policy toward China, throwing aside the adversarial approach of recent years.