For nearly two centuries, scientists have wondered if Earth’s rotation through its magnetic field could produce electricity.