Mercedes-Benz recorded solid third-quarter results as robust demand for its top-end luxury cars and EVs offset the ongoing supply chain bottlenecks that impacted the sector’s production this year.