The Israeli military has killed three journalists after an airstrike hit a media compound in southern Lebanon.