Tesla’s earnings skidded under analyst expectations after about 1,400 vehicles were “physically impossible” to deliver.