When the World Bank turned to IBM with a novel bit of financial engineering that would help it save vital projects in the developing world, it inadvertently kickstarted a market that a generation later would bring the global economy close to collapse.