Markets are betting that the global M&A surge has not yet finished, as Wall Street recovered its appetite for large-scale financings.