A few years ago we bought a generator. A few months after the warranty expired, it broke. There are no small-engine repair shops in my area, and it's too big to fit in my car anyway. Having someone come to our house to repair it would cost more than buying a new one. But... how do you get rid of a broken generator? It weighs 45 kg and it has four gallons of gasoline in the tank. You can't just chuck it in the trash.
(FYI, I decided to take it apart and was actually able to get it running again. It turned out to be an easy fix -- broken fuel valve. But success was far from guaranteed, and it also took several hours of my time, which probably cost me more than a new generator. On the other hand, I also learned a lot so maybe it was a net win. How do you reckon time vs money vs knowledge?)