The fintech company's co-founder recounts the rise of AI and the 3-week process that led to 4,000 layoffs. The lesson dates ...