U.S. auto parts retailer AutoZone reported higher third-quarter profit and revenue on Tuesday, driven by ​resilient demand for maintenance parts and strength ‌in its higher-margin commercial business.