For centuries people have tried to invent perpetual motion machines and many inventors have claimed they successfully cracked the laws of thermodynamics.