Japanese prime minister Sanae Takaichi said the Japan-U.S. alliance would collapse if Tokyo ignored a Taiwan crisis.