My mom's Samsung phone suddenly failed to charge a year ago, but in a weird way. Tried some tricks but it ended up getting stuck on a black screen during boot.
I handed it to a repair shop in town that had good reviews. Three days later they called back. I asked what was wrong, and it turned out they had to replace one charging chip, a power sequencing chip and a third chip I can't recall the purpose of, along with the USB port. The reason it took so long was they got a bit further for each chip they swapped.
I'm in Norway where prices are high, and we have a 25% VAT on top. I paid $180 including VAT, or $144 before VAT.
For that I might have gotten a very cheap Android phone on sale, however my mom's phone was a premium model from a few years earlier. Besides, less e-waste and saved me time reinstalling everything. Personally I think the repair was well worth it.
There's discussion here in Norway to drop VAT on repair jobs such as this, and in that case I think it would definitely make sense to repair such cases.
Laptops, motherboards, microwave ovens and whatever else has "commodity PCBs" are much more repairable than the highly size-optimized phone market.