A 501(c)(3) is still subject to federal income taxes on its business income that is not directly related to its charitable purpose (aka "unrelated business income").
IOW, there is no advantage to being a non-profit unless your business is a charitable activity.