The argument for import restrictions is giving up control to foreign governments.
For example, Europe is in a very rough spot because their countries run on software built by US companies, subject to the whims of US law enforcement.
The biggest threat being 3 letter agencies. The CIA does a lot of spying on behalf of US corporations to drive US corporate interests. [0]
The US army banned Tik Tok from service member phones because of the risk of leaking data on troop movement, sensitive communication on the device outside of Tik Tok, etc [1]
[0] https://www.washingtonpost.com/graphics/2020/world/national-...
[1] https://www.wired.com/story/army-bans-tiktok-cloud-hopper-em...