Simple, stop outsourcing manufacturing to China. Companies regularly get contracts which require an IP transfer in return for cheap mass labor. Of course there's IP which is stolen, but that's the cost of doing business when manufacturing at home has been shuttered.
But, wouldn't this need to be enforced by the government? How else are companies going to agree to stop outsourcing manufacturing to China? And if you agree that the correct solution involves government regulation, then what specifically about this plan doesn't accomplish your preferred outcome of "stop outsourcing manufacturing to China"? I may be naive but I also fail to see exactly how this plan is bad. Do you not feel the Chinese government is using technology to undermine the US, or that this isn't actually a legitimate and compelling issue of national defense?
My comment was intended to be descriptive, rather than prescriptive. IP theft isn't a new thing and American companies no doubt take it into account when manufacturing overseas.
Enforcing IP internationally is actually quite difficult anyways. Tariffs effectively restrict manufacturing overseas, as there's some breaking point in cost to produce.
I don't believe banning trade / manufacturing to China is a good idea, we depend on them for cheap consumer goods, and they depend on that revenue. We developed a dependency on Chinese manufacturing because it was cheap, and no with little to no manufacturing ability stateside, we're tied to their economy.
As someone who worked for the D.O.E for years, I can care less where consumer goods / technology is manufactured. The US government already has VERY strict rules about manufacturing for military / transportation equipment. "National Defense" isn't going to be decided by who owns TikTok or app-de-jour.