There are different lines of jurisprudence in First Amendment law depending upon the right implicated. A press case is going to be decided upon a different line of cases than a free speech case.
The corporate or non-corporate form is irrelevant. It's looking to the substance. There's a difference between freedom of the press and freedom of speech. Freedom of the press protects the ability to report the news. It's rooted in the the British government prosecuting those publishing stories critical of the government as seditious libel, giving rise to the maxim, "the greater the truth, the greater the libel."
Speech, in contrast, is the speaking of opinion. The Times did not do this in publishing the Pentagon Papers. There is a difference between a newspaper with corporate form publishing the news and a corporation such as ExxonMobil or Google effectively advocating for a specific candidate.
I think there's probably some way the other outcome could've been reached, but it would be trickier than I think a lot of people are arguing. It would have to be a narrow prohibition against direct electioneering by corporations, carved out as a First-Amendment exception due to the compelling government interest in free elections/etc. (similarly to how obscenity, libel, false advertising, and "false-light disclosure of private facts" are recognized exceptions). And then specific cases would have to be investigated to see which side of the line they fell on: for example, to determine whether Hillary: The Movie was a real movie, or pure electioneering disguised in a sham movie.
The individual people involved, acting by themselves or as a group, are free to speak as much as they want, spending as much money as they want in the process. What they're not, I argue, is free to spend someone else's money through an artificial construct that shields them from all responsibility for their actions.
Rights and responsibilities are two sides of the same coin. If the human responsibilities assoiated with a han right are shielded, the human right is shielded too.