Climate activist Greta Thunberg looked on as US president Donald Trump arrived at the United Nations in New York.