Why are you comparing it to building expensive modern hospitals? Why don't you compare every other tech acquisition to that? because that's not a relevant comparison, and building expensive modern hospitals has nothing to do with the goal of for-profit corporations.
SpaceX has 3 major businesses: Space, Starlink, and AI.
This acquisition helps with the 3rd one.
This is the same straw man argument of "country Z has N homeless/unhoused people, why are they building a space/military/education widget for $Y price, when they haven't found homes for N unhoused people yet?"
Except businesses tend be focused on core competencies and not sprawling in a lot of unrelated directions.
yes, whataboutism at its finest
They compared the acquisition to hospitals because "think of the children!"