For what it's worth they can live under ground [1][2], even build cities but they would have had to start that project some time ago. Before someone says it, yeah not everywhere and its not for everyone but in enough places and for enough people that we can adapt to heat and at least survive as a civilization.
[1] - https://en.wikipedia.org/wiki/Coober_Pedy
[2] - https://www.youtube.com/watch?v=JsYmw6FtSIA Wyoming Trona mines
Civilizations have made underground cities for quite some time: https://en.wikipedia.org/wiki/Derinkuyu_underground_city
Someone wrote a book about this, they called the people who went underground the Morlocks. It was a cautionary tale...
You can live underground during extreme heat, you cannot build an underground shelter under extreme heat.
When the day comes do you think there will be room for everyone?
I stayed in a mongoloid home in Tunisia last year. It was lovely. It was a large, central, below-grade courtyard with dugout, underground rooms branching off it. The rooms were cool all day. By being below grade, the courtyard was in shade most of the day and didn't get too hot. Through clever tunneling, the rising heat generated a draft.
I also learned that mongoloid, at least in Tunisia, is not considered a derogatory term.