NEW: China's spy agency ran a secret campaign to acquire advanced AI chips and gather intelligence on the sector years before the Nvidia scandal, officials say.