Rupert Murdoch lost his bid to change his family trust and hand sole control of his media empire to his eldest son.