The planet is facing its toughest set of challenges since the financial crash. G20 leaders will need to re-write the social contract to make sure that regulation keeps up with the pace of technology