China warns US to avoid trade confrontation