Banks globally are finding there are fewer corporate acquisitions to finance now, forcing lenders to focus on a less lucrative business: giving loans to corporations looking to cover rising expenses amid high inflation.