It's well worth the temporary economic setback in exchange for semiconductor self-sufficiency.
Huawei has regained the #1 flagship crown in China, and AI NPUs don't require EUV or most advanced nodes, generative AI and LLMs have limited military implications. Training data quality and AI techniques matter as much if not more than raw processor power in the AI race.
So essentially, US has gifted China self-sufficiency in exchange for temporary short-term economic setback, and arguably negligible military AI advantage. US can only sustain it's leadership by being an innovative R&D leader, not stifling it's competitors with draconian sanctions. During peacetime too! What a gift that keeps on giving.