It forces companies to have many more local points of contact as they otherwise would, which improves customer service. For example, with my HP laptop, I ordered it and all accessories locally and in my language, can have it serviced within a few days at any of 3 locations in our country, have someone that I can argue with in my language when they inevitably try to claim the warranty was void somehow etc.
If HP had chosen a direct distribution model, I would've had to order it online, send it halfway across the continent for service and have absolutely nobody to talk to in my language to in case of non-standard issues. We saw that exact with Apple some 10 years back, when it was impossible to get an iPhone from our country, because it didn't seem worth it to Apple, while Samsung and everyone else gladly threw phones at our distributors and watched the money pile up.
I bought a Macbook with Applecare. I had a problem with it and brought it to an Apple store. My data was backed up to the cloud so I had no issue surrendering it. I walked out with a brand new-in-box Macbook in less than an hour.
Waiting a few days for it to be serviced seems like it would be a much worse experience...
The point was, that Apple didn't care about our country as there are only 2M or so of us and so we couldn't even get any apple products for many years, while every other manufacturer that used the distributor model was already here.
The point about repairs maybe doesn't apply to Apple (I don't know how they do things around here), but my OnePlus phone, for example, which is sold directly by OnePlus would have to get shipped off to by repaired, possibly at my expense, and I'd have to wait weeks to get it back. Same (to some extent) with anything I buy from Amazon - they're not present in the country so they don't have to abide by the warranty and repair laws as strictly.