Would you rather have a friend or an enemy spying on you? That appears to be the only options now that technology has thoroughly penetrated every day life.
Another point not mentioned enough is that societies with free press are far more likely to find and report exploits/backdoors. In a country like the US you see this a lot. There's many cases of security researchers reporting possible government funded exploits against their own government. In a place like China reporting something like that would probably mean you disappear
A better decision rationale would be; which of the two is more likely to use their spy-data against you?
And the answer to that is without doubt; your own local spy agency, not the one operating in another country.
I can see the facts of the Chinese government's authoritarianism, their persecution of their minority populations, and their international behavior just fine. In fact, they're so economically influential, that I find criticism of them is muted, and tolerance of their crap is high.
There are thousands upon thousands of first and second generation Indians working in the US and UK tech industries. There are hardly any working in the Chinese tech industry.