Two weeks ago, Sam Bankman-Fried was seen as the respectable face of crypto. It all went up in smoke. Here’s how.