America is not a dictatorship, the chance of changing the goverment (and that includes its intel agencies) for the best by politics still exist so I don't even see the equivalence you are trying to make here, if anything developers and everyone else should _use those platforms_ (Google, Facebook, etc) to promote saner politics.
Most of the difficulties the author is mentioning are caused by the US sanctions that have been put in place after Trump's decision to walk away from the deal the US signed with Iran (against international laws). What you call "democracy" is causing most of the difficulties the author encounter, not the censorship or surveillance from the "dictatorship". But I think it's not more the role of developers to change the politics than any regular citizen. In that case, you might want to reconsider the products you buy from China as well.
Me stopping buying products from china would change exactly nothing, the only useful change against China tyranny that can be done is forbidding importations with new laws.