You also leave out one important place for “extra” money to go: salaries within the hospital.
Back in 2015 the president of Boston University raked in $2.5 million https://www.bostonmagazine.com/education/2017/12/11/boston-u...
While $2.5M is obviously a lot of money, it's a drop in the bucket in terms of how much the university brought in. For universities and hospitals, it's not the high salaries of a few execs, it's the massive amounts of administrative staff.
For the larger hospital systems, several thousand admin staff making 60-70k+ adds up to waaaaay more than the fat paychecks that a dozen execs make.
It's basically a snowball effect. Execs get bonuses for bringing in more revenue, but it's a non-profit so they have to spend it somewhere, so they expand admin and build facilities, rinse repeat.
What's interesting about this is that around 75% of hospitals in the US are actually non-profit.
Source: https://www.kff.org/other/state-indicator/hospitals-by-owner...
All this ends up meaning is that any revenue above their expenses is plowed into hiring more and more administrative staff and building new facilities.