Tesla's valuation reflects cautious optimism around the company's artificial intelligence (AI) ambitions.