U.S. Defense Secretary Pete Hegseth has welcomed Japan's commitment to accelerate its military buildup and defense spending.