From the studies I've seen and discussions I've followed, there's three scenarios that will make the planet uninhabitable:
- the oceans heat up to the point where they stop producing oxygen,
- we run out of drinkable water, or
- we kill off pollinators and run out of food.
Those are all entirely possible and will make the planet uninhabitable for humans.