The COP29 climate talks have reached a last ditch deal on cash for developing countries, pulling the summit back from the brink of collapse after a group of countries stormed out of a negotiating room earlier.