What you're saying doesn't make economic sense to me: won't open-sourcing the AI and software components commoditize those things, leaving the hardware components like robotics, vehicles and associated hardware like sensors to be the bit that makes the money? Similar to how operating systems are now given away for free with computers and phones?
In which case doesn't Japan win?