China warns conflict is inevitable unless U.S. changes course