Maybe one day animatronics will become advanced enough to make zoos obsolete.
Many zoos and aquariums conduct scientific research, and may have breeding programs for endangered species.
And I'm sure we can do scientific research on robot animals just as well as normal animals, just a different kind of research.
Seems like it all works out.