How China tried and failed to win the AI race