Donald Trump says if Hamas rejects the plan, Israel will have US backing to "finish the job of destroying the threat" from the armed group.