Apple has handed over the entire operation of iCloud in China to a regime owned company, including all user data and keys (they did warn users that they were going to do that though).
At the same time they do not permit side-loading, thereby handing complete control over what users are allowed to install on their devices to authoritarian regimes.
This is not simply "complying with local laws" as they like to present it.