Peloton was one of the biggest success stories of the pandemic era, but the company's descent — from recording its first ever profitable quarter to massive recalls — is a cautionary tale, as well.