US President Donald Trump has used a gathering of global leaders to claim the United States will go it alone on climate change and a coronavirus vaccine.