Speaking during the spectacle in Beijing, China’s President Xi Jinping said the world faced a choice between peace and war.