The bulk of Tesla's roughly $1.4 trillion valuation reflects optimism about self-driving, Optimus humanoid robots and more.