The Aga Khan, the spiritual leader of the world’s millions of Ismaili Muslims and a major philanthropist, has died.