you don't refuse to close one security hole because you might have another. we could make the latter illegal too! it might already be!
I would love to make advertising illegal but it doesn't seem likely to happen.
The place to protect against this kind of threat is in English class, and by regulating in favor of transparency (re: the algorithm), not by censorship.
The latter will just create a fight for control over the censorship infrastructure, and given our cyber security track record and habit of letting companies do whatever they want, that's not a fight I think we can win without becoming all of the things about China that we find objectionable.