Tesla value jumps $40 billion as S&P 500 beckons