The move came after Tesla reported a surge in second-quarter deliveries that was helped by sharp price cuts and discounts.