Apparently hydraulics, instead of cables. Cf. https://www.bicyclehabitat.com/how-to/disc-brakes-101-pg362....
I have hydraulic brakes on one of my bikes too. They feel great (so accurate and responsive!), but I'm glad I haven't had to get them fixed yet...
Hydraulics are great, and I have fixed mine. The parts are NOT a problem to acquire at all. I will say, however, that bleeding them is a bit fiddly and a pain, compared to bleeding car brakes, in my experience. I've done bleeds on both Shimano and Tektro brakes; the Shimanos were definitely better, but still not as easy as car brakes. Which is why I happen to know Shimano caliper prices off the top of my head: I'm thinking seriously about swapping the Tektro calipers for Shimanos because they're easier to work with, both for bleeds and for pad changes (the Tektros require removing the caliper from the frame; Shimanos do not).
So again, I'm wondering what the OP is griping about. There is no supply-chain problem with hydraulic brakes that I can see.
The nice thing about hydraulics is that, once they're set up, they're good until you need to change the pads usually, and even then the fluid is probably fine unless it's old. Rim brakes, on the other hand, need constant adjustment and fiddling just to keep them from rubbing, as the pads wear. I don't miss them one bit.
Cycle shops I ask in, say parts are a nightmare or were, the last time I asked. Maybe its about market size, maybe they just don't want the hassle.
Where you are, and your budget, affects availability of things. Are you in my market?
Back in the US during Covid, I needed a new derailleur hangar because I bent mine, and wanted it quickly so I could go riding again. My local shops all said it was hard to find and expensive, and I'd have to wait a month just for them to install it (and they wouldn't sell it to me directly) for a small fortune because they said it needed to be specially bent (it didn't). So I found an online shop that had it and bought 2, got it in a few days, and installed it myself. Sorry, but after that experience, the people saying "support your LBS!" can shove it.
The other thing you should be aware of is that the exact part you're looking for may not be easily available. So if you want to replace a whole caliper, for instance, you'll probably have a much easier time finding a compatible caliper (probably a newer design) than finding another of the old one. Mfgrs are constantly updating their product lines, so it's frequently cheaper to just get something newer rather than an exact replacement, though of course there's limits here (you can't easily change from a 10-speed drivetrain to an 11-speed one, for instance, but you can easily mix-and-match different 11-speed cassettes). For hydraulic brakes, on road and hybrid bikes these days, they mostly all use the same flat-mount standard, with a few different rotor sizes.
Maybe its my bad timing, buying a 2nd had bike when it was end-of-life for one model of brake, and now it needs work, people have moved onto the next 'best thing' and I am behind "can't get the parts"
(I know one respondent disagrees and says they are both easy to fix, and easy to get. I am just reporting both what I was told and what I find when I look. "easy" is very contextually defined in both cases. It would be very easy for me to confuse myself, order the wrong bits, or manage to dismantle but never re-mantle things.)
In addition, do know that the discs and even brake fluid will need to be replaced at some point to keep things working well, hope this can avoid a bad surprise!