I'm sure a LOT of countries have laws like these in one form or the other. I'd imagine that the inside baseball on this is the US is effectively declaring China an enemy, and so therefore can make this threat. The only question is how actionable it is.