Besides the obvious of this being a hedge against Taiwan being invaded. This is also a response to US sanctions, Japan is trying once again to have an independent semiconductor supply chain, just as an assurance. The government has been buying up companies to shore up their base. [1]
[1]https://www.cnbc.com/2023/06/26/japan-backed-fund-to-buy-sem...