Is it expensive? Yes. However, it's projected to end up cheaper than dealing with all the zoning and lobbying local governments to allow data centers to get built. So if you want to make it uneconomical, you have to change the political environment in which DCs get built.
The only question is if it brings it profit over its life time. I imagine it would, but the margins would be hammered compared to earth DCs. A longer play towards some kind of sovereign non taxed space DC could recoup a bit more.
Either way, due to the economics, I imagine this is a plan B in case terrestrial DCs become politically impossible. Backlash is already very widespread with DC NIMBYism, space could just end up being the only option if earth permitting is capped.
imho the problem is not datacenters as such but business people like Kevin O'Leary that are sociopathically fixated on profit maximization.
That's literally what they're doing. Can't imagine a more remote place than space.