There is no such thing as a perpetual motion machine. Every machine in the world will have losses from friction on the moving parts, the sound created, etc. This means that machines will need constant energy input to keep it moving, similar to that setup.