I replied to (a comment) and tried to contrast how a state owned power grid can still have profit models attached and function both technically and for it's intended customers.
(Like most hospitals in the US, by the way, coming back to the original "There shouldn't be a profit motive attached to basic services like electricity, policing (private prisons), or medicine" comment.)
My understanding is that they're registered as a charitable organization, not a non-profit. These terms are often used interchangeably, but from a tax and earnings perspective they mean different things. This is often further confused with not-for-profit organizations, which is yet another thing.
501(c)s, including 501(c)(4)s, are nonprofits, so “not a nonprofit” was wrong.
501(c)(3)s are charitable organizations, so “as a charitable organization” was also wrong. But 501(c)(3)s are a subset of 501(c) and thus are also nonprofits, so your implication that they could be a registered charitable organization but not a nonprofit was also wrong.
As a 501(c)(4) they are a nonprofit and not a charitable org; if they were a 501(c)(3) they would be both.