I've heard this many times while at auto body shops. It seems that it's not the electronic parts cost that is expensive but you have to dissemble much of the car to replace the parts.
Current cars get more power and fuel efficiency, but its at the cost of complexity like high pressure direct injection, stop/start, variable length intakes, cam phasers, etc.
Its nothing to do with computer control making them brittle, more that there's just so many extra components to fail that just didn't exist on older cars and the techs need training on how they operate and troubleshoot.
The downside is that cars especially have not gotten cheaper. (This is starting to change, sadly by necessity rather than choice, ~ton personal vehicles will soon be the thing of the past even in rich countries.)
https://www.iea.org/data-and-statistics/charts/global-car-sa...
Many other things seem to have gotten worse though, like clothes and linens. I suspect there's some pattern to those things that have improved and those that have declined, and everything in between, but I couldn't explain it.