And as far as military might goes, China and US cannot protect each others nuclear weapons. Economically both will be stalemated. Infact US will suffer more! China will not be able to sell in 2040 to US if war erupts, but US will not even be producing half the things then. So there will be hyper inflation in 2040 if war erupts with China.