As Washington unsettles its partners, Beijing is reaping diplomatic gains, without backing down on human rights, trade or security.