Actually it should be possible to get energy from the earth's magnetic field. It probably wouldn't be a great quantity, but whatever device you built to harness it would likely appear to be a perpetual motion machine. I think Tesla was working on it at one point.