Hitachi, Advantest ride AI boom to lead Japan Inc.