In essence, our extinction (if it were to happen) would be because we were unable to solve the collective action problem... each individual choosing their own best course dooms the entire species.
When looked at it this way, lots of species go extinct for this reason; resource exhaustion due to uncapped expansion.
The difference is that we don't expect animals to be able to reason through the situation and realize that individuals would need to sacrifice for the greater good of the species.