Beaver dams are only helpful because other organisms have learned to make use of that niche. There are already bacteria which have learned how to consume plastics, and others which have been shown to break down oil spills. Nature can fix anything we throw at it, given enough time. Humans may go extinct because we can't adapt fast enough to the changing conditions, but something else will always come along eventually that can make use of the waste we create.
Beaver dams are only helpful because other organisms have learned to make use of that niche. There are already bacteria which have learned how to consume plastics, and others which have been shown to break down oil spills. Nature can fix anything we throw at it, given enough time. Humans may go extinct because we can't adapt fast enough to the changing conditions, but something else will always come along eventually that can make use of the waste we create.