The UK could act as “an honest broker” on AI and other global challenges, the prime minister tells world leaders at the UN.