Hospitals, universities, credit unions, financial companies (e.g,. Vanguard), and insurance companies (e.g,. Blue Cross and Blue Shield) are often revenue-generating non-profits or mutual companies (where all profits are shared by the customers).
As @oneJob points out in another comment here - All that "non-profit" means is, from Wikipedia, : "A non-profit organization is an organization that uses its surplus revenues to further achieve its purpose or mission, rather than distributing its surplus income to the organization's shareholders (or equivalents) as profit or dividends."