Trump attacked global institutions, criticised migration and climate policies and highlighted only his achievements in a lengthy UNGA speech.