The IRS rules allow the tax-exempt entities to participate in those actions, as long as promoting social welfare remains the primary focus of the group's activities.
The same process of creating 1099 income creates good income for tax-exempt entities, which means it goes into 401(k)s, IRAs, as well as foundations, endowments, ERISA plans.