President-elect Donald Trump's nominee for secretary of state set a course for a potentially serious confrontation with Beijing.