China may surpass Japan in the automation/AI sphere. Lots of young, English-speaking, western-educated workers, plus the PRC has already innovated so much in manufacturing, shipbuilding, etc., and an ecosystem willing to splash cash on daring startups (albeit a lot of that is state funding, and you need CCP connections to come up in the Chinese startup world) in ways that leave Japan in the dust. Look at how Nvidia is working in China, look at the rise of Aliyun, Baidu Cloud and Tencent Cloud.
The only Japanese companies I know that are geared for automation for the new economy are companies like Mujin, LeapMind and Preferred Networks.
As a side note, the fact that Japan has managed zero-growth despite a rapidly shrinking, aging population; almost zero immigration; and roughly the same economic policy as from the 1980, is nothing short of a Herculean endeavor. I wonder what Japan is going to do when the population decline really gets in gear around 2040.