Over decades, the Aga Khan evolved into a business magnate and a philanthropist, moving between the spiritual and the worldly with ease.