It depends. In Taiwan I know places that would maintain/repair. My Yashica T5 once went for repair coz a metal part caught on some string and distorted, when the back cover wasn't fully close. Took the repairman only a few minutes to fix it, for free.
Electronic failure, on the other hand, would be more difficult to repair. In some cases they have to airmail the cameras back to service point in Japan. Sometimes it costs so much that people just give it up.
Classic manual cameras got the edge on this one, but not enough to dissuade me from using Electronic cameras to their own advantage. I'm not good at maths and find it hard to conclude which is more expensive: the CLA that costs 50~80 $USD to get my old RF to its good working order, or the Zero "maintainance cost" on my electronic T5, through the years of happy shooting till it got lost during a trip?
As for my Hexar AF, it has been years since I bought it 2nd-hand, and so far so good. Even the battery seems to last forever!