Remember the Space Wheel? It is a cool physics toy from Andrews Mfg that produces the illusion of perpetual motion. These Small & Large Dolphin Wheel Physics Toys work in a very similar way. The wheels have magnetic sides to interact with the base. There is an electric motor inside each base.
Without the battery, the wheels stop after a a few seconds. But with a full battery, they will keep going back and forth.