I would bet that if self driving software was involved in any accident, it is the company who developed the software who will be paying, even if someone else owns the car.
Why would anyone other than a fool agree to indemnify Tesla against liability for a vehicle whose driving behavior is controlled by Tesla?