The ruling comes as Chinese companies race to implement AI systems as part of a state-directed push to dominate the new technology.