You can't. Either speech is free or it's not. There are reasonable restrictions - literally inciting violence or things done to intentionally cause harm ("Fire!" in a theater, etc).
For information, the only thing you can do is make it classified, which is hard to do when it's a private company doing the innovating.
Can you give references?
In my experience of living in Germany, freedom of expression is welcomed as long as it's the right kind of expression.
At least since NetzDG was passed I'm not sure it's quite that simple.
Google[0] says this about the NetzDG:
"The Network Enforcement Law (NetzDG) requires social networks with more than 2 million registered users in Germany to exercise a local take down of “obviously illegal” content [..] To qualify for a removal under NetzDG, content needs to fall under one of the 22 criminal statutes in the German criminal code to which NetzDG refers."
Politico[1] said this "Titanic, a German satirical magazine, was similarly barred after parodying anti-Muslim comments on its own Twitter account"
[0] https://transparencyreport.google.com/netzdg/youtube [1] https://www.politico.eu/article/germany-hate-speech-netzdg-f...
This is a good example of something that is, without a doubt, unconstitutional to ban in the US.
The classic sci fi example is spaceships; a rocket travelling at .2c is a devastating weapon and amazing tool for transit.
But so is AI tech, drones, and other technologies. Crypto can stop hackers and the government. 3D printers can print pen guns as well as plastic tools.
The material itself is easy to make. It's the delivery systems that are hard to engineer. Missile technology is literally rocket science.
True, software is dual use[0] but it's too slippery. Even things like nuclear weapons designs[1] are getting pretty easy for people to get their hands on. This stuff is just text! How are you going to stop this from spreading? It won't work.
Besides, top-shelf AI tech isn't much better than mid-shelf stuff. For example, self-driving car technology. We're talking about the difference of 1000kms with no intervention by a human driver vs 5000kms. A terrorist weaponizing self-driving tech for, say, a mobile weapons platform (AKs connected to remote triggers, say) doesn't need the top shelf stuff. They need an auto that can go maybe 10kms.
Thing is, unlike most people I talk to in tech, I actually support the majority of the objectives intelligence agencies in the west have. I just don't know how you solve this one. We need free speech to be a liberal democracy but information itself is becoming dangerous. How do you square that?
Further, if the power of individuals keeps going up due to technological advancement how do you maintain security and freedom at the same time? The only way I can see it working is for individuals to continue to get more peaceful.
[0] https://en.wikipedia.org/wiki/Dual-use_technology
[1] Thank goodness weapons grade fissile material is hard to make.