Prime Minister Benjamin Netanyahu congratulated Donald Trump on his election as US president on Wednesday and called him "a great friend of Israel."