The United Nations' top investigator on human rights in Palestine has said Trump's plan to displace Palestinians from Gaza is illegal under international law and "amounts to ethnic cleansing".