Tesla makes better software right now. But the profit-margins argument seems to be a misconception [1]. Until Tesla distances itself from Musk, I also don't think the brand will stay 'cool' for that long.
[1] https://seekingalpha.com/article/4573601-tesla-gross-margins...