Japanese leader visits new chip factory, stressing ties with Taiwan and support for key technology