Those are two completely separate topics. The fact that dealers now service cars has nothing to do with the fact that they sell them. Otherwise auto repair shops wouldn't exist.
With Tesla, I don't think it is anywhere near as likely as you seem to. Look at this:
http://www.teslamotors.com/blog/people-new-jersey
Going a step further, I have made it a principle within Tesla that we should never attempt to make servicing a profit center. It does not seem right to me that companies try to make a profit off customers when their product breaks. Overcharging people for unneeded servicing (often not even fixing the original problem) is rampant within the industry and happened to me personally on several occasions when I drove gasoline cars.
Beyond that, with unbelievably fewer moving parts and over-the-air updates, Tesla vehicles require far less servicing. For starters, they don't require regular oil changes.
None of which really needs to touched very often. Brake fluid should be changed once a year or so (yeah, neither do I). Same with the in-cabin filter. The rest is a 100K mile service on the Leaf, IIRC.
This is why Right to Repair laws are so important. https://en.wikipedia.org/wiki/Motor_Vehicle_Owners%27_Right_...
That danger only applies to you if you don't read the contract agreement before signing it.
Car dealers and independent auto service centers need protection from manufactures; dealers can service brands they don't sell should they choose.
The danger in allowing manufacturers to determine how sales are made is they will likely dictate how repair and maintenance is handled. While maintenance on an electronic vehicle is going to be significantly different my warranty should not be affected should I choose someone other than the manufacturer to repair it.
disclaimer, I work for a leading supplier of auto parts.