Electronic equipment used to be much less reliable so it was definitely true at one time. I remember when I was a child that we had to call out a TV repairman once or twice a year. That would have been for old valve TV sets.
Then transistors came in and sets lasted 2, 3, 4+ years between repairs.
When integrated circuits came along it became increasingly common for electronic kit never to go wrong and to be eventually scrapped while still fully functional. I have 3 spare laptops, 2 spare desktop PCs, several monitors, a spare phone, and a spare tablet - they all work, but they are not up to modern requirements. I tried giving some of it away to a tech recycling company which does up old kit and sends it to schools in Africa but they didn't want it. Even African village schools want to be able to watch YouTube videos etc.!
I often remember devices going 'pop' when I switched them on in the past but I would be surprised if it happened to a computer or TV of mine now. We take reliability of these devices for granted.
With computers, problems are more often software related but that is a whole different subject!