Even if one country is better at making everything, it doesn't have a comparative advantage in everything. That's impossible. Every country has a comparative advantage at something! That's why in the theory of comparative advantage, trade is balanced. In the real world, China's massive trade surplus means that trade is not balanced; much of the time, China isn't trading goods for other goods, it's trading goods for IOUs.