The media tycoon is happy to spend to contain a scandal — including in his legal battle with a British royal