Tesla shares have soared in the past year, on improved financial results and optimism about electric vehicles.