Usually by allowing more local state governments to invest in these companies, rather than the central party controlling them. The main party does get involved on a more personal level if the company leaders threaten the CCP's power though.
That said, China's own party-favoured economists have been warning about domestic AI investment being overheated since these Chinese AI companies haven't been shown to make much money yet to justify it.