There really is no guarantee these things won’t happen to those companies - just like how there is no guarantee that CCP won’t have HKers or Uighurs or Tibet. You just have to be mindful of the authority of nations and hope you don’t get unlucky.
This one of the better/saner things this administration has done, if anything, these should have been accelerated to avoid another USSR style Cold War with China.