A few years ago, it looked as if the U.S. and China might battle over global hegemony and preeminence.