That's not to say that a corporate "person" cannot be used as a tool or means for moral agents to commit acts of kindness or commit harm. But moral responsibility for those acts lies with the moral agents who run the company or otherwise make the decisions which lead to such states of affairs.
There is nothing in the scenario which you describe which is evil so long as one accepts that a corporation maximizing its profits is a good, i.e. characterizes corporate "persons" as moral agents rather than a force which moral agents possessing free will may harness for their acts.
I will add that the fundamental premise of the scenario is that Google would create a walled garden and give it preference over open networks such as the internet when providing information to users of its services.
The application of ethics to such scenarios is left as an exercise for the reader.