Data centers are hot properties, even as many businesses are shedding them to shift their information-technology operations online.