the goal of evolution isn’t to survive as long as possible. It’s to survive long enough to reproduce and for some animals a little bit past that to take care of your offspring. After that it’s usually evolutionarily irrelevant
Humans are taking care of the reproduction for domesticated species. they’re a product of artificial selection, we’ve selected for traits most beneficial to us.