Not to the same scale of Amazon, but UPMC (Pittsburgh’s regional medical giant) is a non profit who made $400 million profit a few years ago to some outrage. Their CEO is a pretty high flying guy for being a non profit!
Suspiciously they made near zero profit the next year.