Will never work. You can't exactly deny your own people things. Trade again is a two way street. This attitude is just as delirious as MAGA folks believing their trade war was easy to win... well they lost pretty poorly and escalating in other ways because it didn't work. Gee who woulda thought that morons don't understand economics.
The Japanese were the first to refuse cooperation with Chinese state and state car makers long in the distant past. The Germans had no issue in cooperation and got China's market first. The VW guys differed with the Japanese because of attitude and understanding. The Germans thought there is no way China would be able to learn anything that can be converted eventually into doing small things by itself and then larger things. The Japanese knew the Chinese could and wouldn't allow China to go from 0 to >0 in car manufacturing. Once China was already capable, they cooperated to make profit. Germans considered it impossible lol.
The Germans and anyone else for that matter, never or at most rarely (depending on situation and case) handed over anything in terms of tech. The Chinese if they wanted to learn anything, had to start from zero pulling things apart and complex cooperation between industry, academics, research institutions, universities etc. The Americans when they want certain tech their vassals achieved, can simply put their name on it. The Japanese know this well enough. In fact even some older German and French understand this. It's just much rarer because the US is a tech behemoth and was since WW2. They were rarely not at the leading edge in any field. China was an absolute 0 until Deng's reforms and honestly well after. Even copied technology was hard won and cost effort and time to understand. The rest takes off as the overall tech gap becomes bridged. You just can't force things and China is in no position of influence, power, or offering anything in return to force things. The American offer military security (from imagined and hyped up enemies) and when they have nothing to offer, they have the political presence and real soft power China simply has almost none of. Market and profits be damned... again trade is a two way street. You think banning all foreign tech goods will do China good? Out of your mind?!