China's second-tier entertainment companies are scrambling to cut costs and go all in on artificial intelligence.