Baidu reported third-quarter revenue of 30.81 billion yuan as AI-linked business growth helped offset a decline in online marketing services revenue.