Yes but there are plenty of ways to do that with R&D, capital write-offs, “business expenses”, reinvestment, etc . I don’t think there are nearly that many for charities and other nonprofits. https://www.investopedia.com/financial-edge/0512/how-large-c...
"In each year from 2014 to 2018, about half of all large corporations had no federal income tax liability."
https://www.gao.gov/assets/gao-23-105384-highlights.pdf