The Faustian bargain if you will was dealerships were given certain deals by the manufacturers to protect their ability to profit. States got involved later, where there was money to license such as well as to keep manufacturers from stepping into a solid market to brush aside the dealers who forged it.
It was a solution fit for its time and still is in many cases. When Tesla's support falters who you going to yell at? Fellow disgruntled owners on a message board? Not saying it will, but you who goes to bat for you when sales are direct?