Ye olde history of perpetual motion machines

The Martians in Kurd Lasswitz’ 1897 novel Two Planets had a dynamically adjustable version of that as the basis of much of their technology. Unfortunately the technical detail was rather limited.