After a dramatic week, crypto exchange FTX has filed for Chapter 11 bankruptcy and its CEO Sam Bankman-Fried has resigned.