This is one of the factors driving the development of orbital satellite data centers. While satellites are also vulnerable, they are at least somewhat harder to hit than a stationary terrestrial data center. For now it's questionable whether such constellations are feasible due to concerns over launch costs and cooling but some people are taking it seriously.
https://www.spacex.com/spacexai/starmind