Electrical perpetual motion machinists usually present a machine that causes a small battery to generate a huge amount of power. Thus, measuring 10 Volts and 10 Amps could indicate anything from 0 to 100 Watts, depending on the power factor. Mechanical perpetual motion machines depend on rising and descending weights. So no matter what the weights do, you can't get energy out.
Magnetic motors have a clever arrangement of magnets which keeps the motor rotating forever.
Levitating magnets do not require energy, any more than something resting on a table requires energy. Energy is the capacity for doing work. Work can be measured by force times distance. Although the magnets are exerting a force the levitated object is stationary, so the magnets aren't supplying any energy. Patent offices are there to judge whether something has been invented before, not whether it will work.