Those places entered into China while agreeing to those restrictions. That’s different than the US allowing foreign investment then rugpulling it and stealing the Chinese owned portion of a business after the fact.
In order to retaliate, China needs to seize or steal American capital.