The high-stakes trial pitting the Duke of Sussex against Rupert Murdoch's newspapers could cost him millions—even if he wins.