Pouring billions in the sector highly increases the chances of breakthrough technologies.
I personally think more competition in the space is good for everyone, albeit I'm not a fan of those trade wars, they accomplish little at the end of the day and they are funded with a lot of our taxes, we talking hundreds of euros/dollars per citizen for many years to subsidize this trade war we have little to gain from.
China will still get ASML equipment eventually if they will really want to by buying it from intermediate sources that may hide the operation for the right amount of $. China will be further motivated to reverse engineer the solutions and not share their own advancements in the sector if accomplished.