I don't have the answer, but I can understand the viewpoint that China's temporary kneecapping may actually lead to long term supremacy, as their in-country solutions become capable of competing with the state of the art. That will leave America more vulnerable in relation to China, because we will still be relying on access to technology from a wide range of countries (Netherlands, Taiwan, South Korea) in order to compete. That gives China additional leverage over the United States, as we will remain reliant on international cooperation.
And this analysis doesn't even address the ramifications of China exporting this technology, increasing their export dominance and potentially overtaking America's tech dominance at the software and design level of the stack.
I don't know what the right answer is to the problem, but it doesn't take much effort to imagine our current efforts as being the wrong answer, which is a little troubling.