There's a difference between preventing war and preventing a wider world war. Trade links persisting even when countries are opposed to each other contributes to a certain level of global order between the biggest powers.
We do not and cannot so trivially assign a reason for the lasting peace since WWII. There are many theories in international relations that propose a cause, and none are currently accepted as being solely correct