It's a traditional benefit of decoupling the sales and maintenance of vehicles from the manufacturer. The manufacturer should not care who buys their parts, so it should be purely an additional revenue stream. ASE certification means any shop can carry out warranty repairs and the manufacturer doesn't have to have repair shops and staff in every city/town.
That said, it's not just Tesla that has broken this model; Volkswagen Auto Group in particular are famous for requiring proprietary tools and software packages to diagnose and repair their vehicles, and refusing to sell tools/software to independent shops. I think some manufacturers are just more tightly coupled to dealerships, so there's a profit motive in forcing all repairs to happen through them.
That said, it's not just Tesla that has broken this model; Volkswagen Auto Group in particular are famous for requiring proprietary tools and software packages to diagnose and repair their vehicles, and refusing to sell tools/software to independent shops. I think some manufacturers are just more tightly coupled to dealerships, so there's a profit motive in forcing all repairs to happen through them.