Tesla stock bounces back after a dreadful few months marked by layoffs and tanking sales