The company is investing in cloud and data center infrastructure.