Global M&A surges to $3 trillion record as AI megadeals dominate