The United Nations has voiced its firm opposition to US President Donald Trump's plan to forcibly displace Gazans to Jordan and Egypt.