Magnetic Bearings Might Keep Motor Spinning for Millennia
When talking times like that, lots of 2nd-, 3rd- and 4th-order effects become important. Like flexing of the mechanism due to Coriolis forces, or coupling between the magnet and the earth's magnetic field. Heat losses that will stop the motor in years, not millennia.