The people in power in a democracy do not not persecute their dissidents because they are better people or because they got to power by being elected by the people, but because good democratic systems hold the people in power accountable to the general population. A surveillance state does the opposite. It holds the people accountable to the government.
Democracies stay democratic because the people hold power over the state and have means to get informed about the state. That requires for example journalism and protection for journalists and their sources. When the state can trivially find the sources of journalists and surveil the investigations of journalists before they can even publish anything that protection is no longer given.
When the state can know exactly all the people that participated in a protest that gives the state power over the people and takes power away from the people.
When the state can know exactly where in important organizations of all kinds there are dissidents so it can replace them before they can organize...
And now, general public is pissed about consequences of what large companies caused so much, that it is willing to put a lot of power into the hand of evil government, because they see it as less evil.