Extremely far. It'd be extraordinarily costly - imagine every Chinese national SWE having to leave American companies - and in the US probably unlawful to impose.
A lot of these restrictions were imposed by the Arab states in the very early days of Israel's "nationhood" and haven't been lifted since, so you don't have to expel people to do this.
If US/China did this there would be mass expulsions on an India-Pakistan partition level