TOKYO — As automakers race to develop software-defined vehicles, Subaru Corp. is upping its game with a second high-tech R&D hub in Tokyo, to spearhead its shift into artificial intelligence, advanced driver-assist systems and more, all while attracting new talent.