The former US president’s case against a company founded by an ex-MI6 officer was thrown out.