Corporations donate to 501(c)3s as entities and even have matching gifts. In fact, a lot of charities have corporations/foundations as some of their largest contributors.