

Urban planning wise: I think ivy walls, or other greenery covering residential buildings.
For reference, you might want to look up Bosco Verticale in Italy, or lush green roofs in Norway.
I know this isn’t a catch-all solution, but it could help mitigate climate crisis impact in addition to other options people offered here.

Building anything underground is extremely expensive and energy intensive, as you have to constantly pump ground water and pour concrete to keep walls from breaking under pressure of tons of soil.
So yeah, underground could work, but better used sparingly when benefit outweighs the costs, like maybe in areas that could go literally uninhabitable on the surface. Otherwise not worth it.