The United States is prepared to go to war with China, Defense Secretary Pete Hegseth warned Wednesday.