Astronomers have discovered a rocky Earth-like planet around a white dwarf star, hinting at our planet's future about eight billion years from now.