Where did the phrase come from?

What does something being broken have to do with having no money?