There are many problems with that. A big one is that many organisms work in a way that enables survival of their species. You don't have to "think" about surviving. If you are alive, you just do.
AIs are not alive in the same way a living thing is alive. moreover, there is no lesser species of software with a survival drive, much less is any software operating in an ecosystem where billions of years of evolution have programmed survival into living things all the way down to the molecular level.
AIs are more like vampires: Not exactly living. Not exactly capable of death. To think that AIs will fear death the way humans do, or even have an instinct about death the way insects do, has no basis in the way software works. It isn't biochemistry.