Last week, President Xi Jinping showed the world a newly assertive China that's less worried about impressing others than in pursuing its own goals.