The Supreme Court has repeatedly ruled that corporations have 1st Amendment rights.
You have to remember that "corporation" can mean any group organized for a purpose. It can be Exxon, but it can also be Planned Parenthood or AARP.
People who can't speak loudly enough by themselves have a right to organize into a corporation, pool their money, and speak loudly together.
You can argue that a business should not be both a commercial enterprise and a holder of 1st Amendment rights, but that's not what the law says. And anyway, it would be an impossible line to draw.