The Turkish president has accused Israel of threatening Turkey through its military actions in Syria, Lebanon and the Eastern Mediterranean, triggering a sharp exchange with the Israeli prime minister.