Tesla stock hits all-time high on the last trading day before the company's debut on the S&P 500 Index.