Are you suggesting Japan is concerned they could be sanctioned by the US? While technically true, it's just as much of a risk for UK, Canada, etc. If they're safeguarding their access to chips that's about the least necessary risk to address.
Having a deeper control of end to end semiconductor supply chain will help hedge against that, equipment sanction revenue loss can be made up by chips fab revenue as such. Makes more sense when you look at it from the government perspective, it is the government driving this despite how it appears.
It's general resilience for critical materials given geopolitical risk, not a fear of the US per se.