Tencent chief warns of “huge pain” ahead as AI advances