First part isn't true, either. There's no reason why the Earth couldn't end up like Venus or Mars, and it could well do so in a few hundred million years. Habitability is a confluence of luck, there's no constraint that it has to last. It's just unlikely that we could cause harm on that scale, yet. Climate change won't wipe out humanity either, it will just inflict a tremendous amount of pain.