It is the incorrect idea that the adaptation of an individual animal works in such a way that an entire species dies out. The idea is that evolution makes plants and animals pass on their genes to the next generation more efficiently, but it does not guarantee the survival of the population or the species. Obviously, that is true, and extinction occurs often. Evolution cannot foresee the future. This is, however, nothing at all to do with suicide.