Sam Bankman-Fried on Friday testified that the "biggest mistake" he made as CEO of bankrupt cryptocurrency exchange FTX involved failures in risk management.