Former Peloton CEO John Foley revealed that he nearly lost all his money after leaving the exercise equipment company in 2022.