Long confined to regions with volcanic activity, the method of harnessing energy from the Earth promises to become much more versatile thanks to new technologies