Sure, but renting out data center capacity is not that lucrative. You get 15% markup that's all.
15% of a billion dollars is a lot of money.
It is low-margin business, does not explain their 1.8T valuation.