The results, driven by demand for advice about artificial intelligence, contrast with the weaker performance of major rivals Deloitte, EY, KPMG and PwC.