You assume these Chinese companies need to make a profit. Nothing is really private in China, nothing that truly grants power, anyway.
CCP can just write off these loses as defense budget, which they basically are.
I bet that, all things considered, training 10 new Chinese frontier models costs _significantly_ less than a single modern fighter jet.