Rising inflation is increasing reliance on credit. AI is helping lenders spot risk early and manage it better.