Real estate investment trusts are merging as the market begins to shift amid changes to capital requirements for banks.