It's a combination of the words:
* "banco" (bench) - referring to the benches used by money lenders in the Middle Ages.
* "rotto" (broken) - referring to the breaking of the bench, which symbolized the lender's inability to pay back debts.
So, a "bankrupt" person was literally someone whose bench was broken.
