Chinese factories resume growth via AI