Real estate investment trusts specializing in data centers and cell towers led a burst of fundraising in June as investors bet that the pandemic-induced rise in remote working and other internet activities will further whet the appetite for data and wireless telecommunications.