The threat of artificial-intelligence tools has stirred fears about the future of software and what might happen to loans in ...