I believe the reason for the extra valuation of tesla is factoring in the potential of self driving cars and the market they can capture currently held by uber/lift - also the energy storage market and the solar market...
So while they sell cars and that is the majority of what they are known for now... it’s believed in the future they will be worth more because of the AI and storage businesses