The EV truck and sport-utility maker raises its production guidance for the year after better-than-expected second quarter.