US firms’ profits reach all-time high on back of M&A bonanza