"I really hope that we'll get a legal precedent for this actually being possible and durable in at least some countries, because that was the promise of OpenAI at some point as well."
Lawyer here - it is basically impossible to do what they (and others) want.
There are few (if any?) countries, where either provision would survive bankruptcy, for example.
They could always choose to dissolve rather than restructure, but if they did choose to restructure, i'm not aware of a country where the restrictions here would be enforced on the successor.
On top of this, in most (all?) countries, agreements not to file for bankruptcy are not enforceable ;)
So that's one mechanism.
In most countries, however, these provisions would be "easily" removable through shareholder + officer vote.
Some companies go pretty far down the path of trying to use trusts as shareholders and requirements on trustees and such to try to ensure such a thing never occurs.
You can also do hilarious (to me) things like create enough shareholders (let's say 7 billion), make shares non-transferrable, etc, so that even though theoretically it requires a vote, such a vote is practically impossible.
I also had a friend who explored whether you could legally require the place of voting to be like "the surface of the sun" or something that ensures voting can't occur, but unfortunately, you usually can't.
Companies really aren't meant for this kind of thing - not that there is something better, but what tehy are trying to do is pretty fundamentally opposed to how countries want companies to operate.
If it's really a big enough deal, the "correct" answer is to create a new corporate form, much like we created LLC's, etc (LLC's are less than 100 years old, so it's not impossible)