The concept behind corporations as "people" is that people don't lose rights just because they are engaging in their right of free association.
The corporate entity only "has rights" because it is a collection of people, and those people have rights.
Ecosystems aren't collections of people.