When Mansa Musa made Timbuktu his capital, he looked upon the city as a Medici looked upon Florence: as the center of an open, intellectual, entrepreneurial empire that thrived on great ideas wherever they came from.