Tesla’s stock is on track for its sixth day of gains in a sign of improving sentiment, despite a probe into inoperable doors on 174,290 Model Ys.