This is sadly a really common glitch :( There is no way to pick up the pets because they technically "belong" to a player (Who is obviously glitched out of the picture here)
This is sadly a really common glitch :( There is no way to pick up the pets because they technically "belong" to a player (Who is obviously glitched out of the picture here)