AI is a danger to the financial system, regulators warn for the first time