LONDON — Rupert Murdoch, the media tycoon whose British newspaper outpost has been mired in a phone hacking scandal, took the unusual step of apologizing personally for a cartoon printed in one of his titles here, The Sunday Times of London, that depicted Prime Minister Benjamin Netanyahu of Israel building a bloody wall trapping the bodies of Palestinians.

The drawing, by one of Britain’s best-known cartoonists, was published on Sunday, as Britain observed Holocaust Memorial Day.