Tencent on Thursday became China's largest technology company by market value, overtaking e-commerce giant Alibaba after beating earnings forecasts.