Earth's uncertain future in solar system