Review the precedent. The argument that economic linkage would prevent warfare was first raised prior to World War I. Global and Continental trade failed to prevent proxy conflict in Africa, the Baltics, and all out conflict across all of Europe. Britain and Germany had a level of trade and codependent exchange far greater that of modern day China and the United States.
Not to mention that the United States and China have fought and are continuing to fight proxy conflict today in the Sudan, northern India, Vietnam, Burma, Thailand, and North Korea.
Your theory has been tested. It is false.
To assume that the United States and China simply cannot engage in warfare is a dangerous delusion. And I assure you, it is not a delusion shared by the Chinese government.
The U.S. deployment wasn’t intended to protect the Chinese investment - the largest in Afghanistan’s history - but to strangle Taliban infiltration into the capital of Kabul. But if the mission provides the security that a project to revive Afghanistan’s economy needs, the synergy will be welcome.
http://www.sananews.com.pk/english/2009/03/08/chinas-thirst-...
However non-traditional warfare like the Cold War is similarly completely out of the question. The Cold War dragged on for so long because the USA and USSR were economically independent of each other, they both had mega-quantities of resources and production in their respective regions of control. They couldn't fight outright, but they had enough resources to supply everyone else to do the fighting.
Yet the US-Chinese economies are so intrinsically connected that a war would cause immediate trade embargoes between the countries and would cause an all-out collapse of the respective economies. US desperately relies on Chinese manufacturing for everything from what we wipe our arses with to our knives, computers and even a large part of our ship production (civilian and military production both reside squarely within China's region of control). Similarly China relies wholly on US and European dollars to even have a sustainable economy.
We're not talking $1 trillion in cold hard cash likes some uber-lottery, we're talking a likely payout over the next 50-100+ years. It would be more advantageous for China and the US to team up to extract the resources than to even think about arguing over them.