Apple wants to be the operating system for all cars/hardware (ala Microsoft Windows) and Tesla is trying to be the Apple of cars (integrated hardware+software).
Not a perfect comparison but if Apple dominates the entire industry, there will be space for a premium alternative (even if it's not Tesla).