Government policies, generous funding and a pipeline of AI graduates have helped Chinese firms create advanced LLMs.