Yes, corporations are groups of people, but they are also legal entities that have been given certain rights, responsibilities, and restrictions.
On top of that, we usually consider the corporate entity legally liable for thinga the people do in the name of the corporation. That doesn't come from "just a group of people". That comes from a specific legal structure we've decided on as a society.