It doesn't say specifically, but I think these lasted more than a day, assuming you'll accept random predator species as a sufficient proof-of-concept substitute for mice which have to do many similar things but smaller:
https://www.televisual.com/news/behind-the-scenes-spy-in-the....
Those robots aren't acquiring their own food, and they're not edible by the creatures that surround them. They're playing on easy mode.
Mediocre, or even excellent, Python and rap lyrics in Latin are easy stuff, just like chess and arithmetic. Humans just are really bad at them.