E-commerce has been blamed for the struggles of retail real estate, but is proving to be a boon for owners of data centers and cell towers