China's tech is already self-contained, to a lesser extent so is Russia's, the US is investing a lot in semiconductors just in case something happens to Taiwan, and India has already banned pretty much every Chinese app. The EU, on the other hand, is completely reliant on the US for core tech infrastructure and trying to address that.
None of it makes sense economically, but essentially every superpower is doing something towards at least making it a possibility to "self-contain" their own tech sector. I don't even think this has anything to do with the current political climate (Russia-Ukraine war included), I think it's more in preparation for when climate change consequences start ramping up.