Black holes offer about the most effective process to extract energy from matter, orders of magnitude more efficient than fusion and it is not picky about what kind of matter you put in.
You can put a Dyson sphere/swarm around small black hole and extract something on the order of up to 40% of mass-energy equivalent of the falling matter. With BH of the mass of Earth the sphere would be pretty small and easy to make.