What would keep the magnetic ring at zero energy? It's not difficult to make a system in which one part is zero-energy, or exhibits perpetual motion, but we have to consider the entire system. Supplying energy to maintain the magnetic field, no matter how little, means that, as a system, it's not zero energy.