I imagine I'd find a way to do it as responsibly as I could. I'd think about my health, average lifespan of the animal, look at sponsoring options, talk to loved ones who might be genuinely interested in being godparents, etc. etc.
I think even anticipating the possibility of a pet outliving someone is a responsible thing to do. Nobody can really guarantee that their pets won't be orphaned, that we'll lose our health, etc. but I think responsibility is responding to needs that can reasonably be anticipated as best we can.
if i knew i couldn't take care of a pet anymore (like if i had terminal illness or were elderly like CD's in-laws), i'd donate it to a good home or surrender it at a shelter. i would feel awful of course, but these things happen.
i don't know if anyone here is adopting any tortoises because i know those can outlive humans by a long shot.