Tencent announces a restructuring as challenges rise