From Sonic Retro
Taraban is a variety of badnik created by Dr. Ivo "Eggman" Robotnik, encountered by Sonic in Underground Zone, Aqua Lake Zone, and Scrambled Egg Zone within Sonic the Hedgehog 2 (8-bit). Painted half red and half blue, Taraban models primarily crab-walk back and forth, damaging Sonic if he bumps into them. They can operate underwater, and have an energy-ball attack, firing damaging projectiles from their pincers. Tarabans are easily dispatched by a spin jump or spin roll.
Like other robots in 8-bit Sonic games, no animal friends pop out of Tarabans when they are destroyed. Whether these badniks canonically don't contain organic batteries, or the escaping critters simply weren't shown due to programming limitations, is not known.