Cutting all ties to China (in escalating trade wars) surely will hurt local development, too. You think there will be much practical education without cheap Chinese electronics?
Chinese economic influence is rapidly expanding all over the globe. In the long run, losing the US market will become less of a threat.
I'd say develop tech sovereignty despite Chinese competition. Even if it's expensive, because I think the alternative would be much more costly.