The UK government is defying international law in the Chagos Islands and has broken its treaty with the EU over checks to/from N. Ireland. Does that make it a "bad" government that private companies should not do business with? If the UK demands that an app is withdrawn from the app store, or that private communications should be turned over to government agents with no justification, should a private business refuse to do that? The same arguments can be made for the USA (as the article does).
People generally get the government they deserve. If a country is authoritarian, then it's up to the people of that country to deal with that problem, not private companies. China's government is representative of the wishes of its people, and if it's not then China's people will deal with that.
Contrast that with Myanmar: the democratically elected government has been overthrown by the military, who are in the process of killing anyone who protests about it. This is clearly different. There can clearly be no international co-operation with this regime, because it's obviously been taken over by bad people. There should be international outrage over this, and action from the international diplomatic community - part of which should be guidance to private companies about whether to co-operate with the military regime.