More than $5 billion has been committed to a campaign to divest from fossil fuel companies and invest the freed up capital in the low-carbon economy.