The Chinese e-commerce giant reported higher profit and revenue in the third quarter despite fierce competition from Alibaba Group and PDD Holdings.