The words “public company” often carry a negative tone but ownership rules are complicated. It doesn’t mean much until you know the specifics. For example a non-tech example of a publicly owned corporation that people might not think of is the Green Bay Packers.
Another tech example of a charitable foundation funded by for-profit subsidiaries (both wholly-owned and publicly traded) is the Carl Zeiss Foundation[1].
https://www.profootballnetwork.com/who-owns-the-green-bay-pa...