The United Nations General Assembly on Sunday approved a plan to bring together the world’s increasingly divided nations to tackle 21st-century challenges, from climate change to artificial intelligence, escalating conflict and rising inequality and poverty.