Ex-HBO chief responsible for Game of Thrones signs 5-year deal with Apple