It’s been a bumpy ride to get here, and the electric truck maker’s ability to scale production is still cloudy.