US President Donald Trump has proposed clearing Palestinians out of Gaza and moving them to Jordan and Egypt.