The U.N. General Assembly has adopted a Chinese-sponsored resolution urging wealthy and developed nations to close the widening gap with poorer developing countries and ensure they have equal opportunities to use and benefit from artificial intelligence.