Japan's SoftBank on Monday said it has agreed to buy data center investment firm DigitalBridge for $4 billion.