One of those rogue planets could drift into the solar system and destabilize Earth into an extreme and inhospitable orbit.