The United States and China compete on trade, technology, military power, and diplomacy. The outcome will shape the rest of the 21st century — and everyone else's place in it.