Pretty much all companies in China are required by law to co-operate with the government. They don't need a warrant or anything like that. There is no such thing as a truly private enterprise in China.
Plus, as paranoid as the CCP is, they probably have agents in these big businesses keeping track on things.
Hmm, that sounds a lot like the Twitter files story :)