I mean, even democratic countries are using mass surveillance, not just autocratic ones. So I think, just like with mass surveilance, this “Social Media Investigation” would become the next step in the evolution of how technology is used against us, every country is gonna start scanning your social media.
You already have to give them your Social Media Accounts when you’re applying for ESTA
They only recently made it mandatory for three visa types, but since introduced in October 2016, it’s always been an optional field when applying for an ESTA.
Edit:
Not that not providing your social media handle will benefit you, of course.