Sam Bankman-Fried also stepped down as chief executive, capping a tumultuous week for the firm.