Thanks for playing and giving feedback.
The machine's breaking down is designed so the game doesn't become an idle game. Since the costs aren't exponential, if you could idle the game for a little while, you could probably afford everything.
Many people have suggested saving previous layouts and it seems like a good idea, so I'll definitely look into adding that feature!