The Aga Khan was a religious leader to millions of Shia Ismaili Muslims and a billionaire investor with a love of horses. He saw no contradiction in his roles