You are unfortunate, or maybe your type of riding is not sympathetic to motors on emtbs. There is a guy on here (
@franciscoasismm ) who regularly gets 20,000km and more from his motors. I don't see how he can get that "regularly" without commuting, but however he does it, it shows that Shimano motors have legs.
My limited experience is of two Shimano motors, one e8000 with almost 3500 miles on it and 3 British winters. That was sold to a guy in London and he never came back to me with any sort of complaint. My current motor is a Shimano EP8 that is currently in its 4th winter and has 3400 miles on it. Neither motor has given me a moment's bother. Not only problem free, but there was/is no play in the crank axle and no unexpected noises of the sort you don't want to hear. My EP8 is very quiet, so quiet that other riders comment upon it. Maybe I just got a good one, but that would make two in a row several years apart, supplied by different bike brands. Maybe it's me?
I believe that a lot must depend upon the rider and what they expect from their bike. I read on here of people only ever using Boost (Turbo, whatever), that ride through streams, rivers and so forth. They do massive jumps on a frequent basis. They have chipped the motor so that they can exceed the design speed and at full, power. No wonder they go through motors at a rate of knots. The Specialized owners in particular seem to be proud that they are on their 4th or 5th motor, all under warranty. They praise the fact that they can get a replacement motor fitted very rapidly. Personally, I would run a mile from any brand that has motor failures with that sort of frequency. If I had one, I would never know when I set off whether I would get home again without being stranded miles from my car.
I agree with your point about how Shimano appearing to make life difficult for those who wish to repair or maintain their motors. I am convinced that it will backfire on them. But it hasn't so far, despite frequent comments in the media like yours. Unfortunately for me, I like the way the Shimano motors control their torque and power to deliver a superb ride experience, like me on a really good day when I was ten years younger. However, there are some motors that having ridden them I would never buy.
So despite all the alleged unpopularity why are there so many bikes out there with Shimano motors? I have already mentioned one, the ride experience. Another is that I believe that Shimano offer smaller minimum order quantities to the bike makers. That has to be a significant factor for a small brand. Tie that in with the drivetrains, brakes, wheels.... etc that Shimano can offer and they have a one stop shop. I wouldn't be at all surprised if Shimano offer design expertise to the brand as part of the package. I would.
I am now out of warranty on my current bike and I have already decided that if and when the motor or battery fails that I would replace either or both. It will be considerably cheaper than breaking the bike for spares. I have a good bike and I like it a lot, so I'd like to stay with it, provided of course that Shimano will have any spares for sale!! (Which is not a certainty!)