These kind of measures are political suicide in Western democracies, hence why politicians are seen as powerless against Bitcoin in these places, why they "let" this market grow and why they just setup ways to tax it as best as they can (at the borders between fiat and crypto).
In places where preserving such freedoms is not a burden for governments you already see bans flourish when it is convenient for the people in power... but even then, it just marginally stops the actual access to Bitcoin as a network participant (which is not limited to mining). It doesn't actually kills Bitcoin.
But everyone knows that if governments around the world decided to install massive censorship, invade the privacy of all their citizen, and magically all were in agreement to do so at the same time, Bitcoin wouldn't survive... if you think this is a possible scenario, is Bitcoin really the thing your should worry about?