Lucid Motor's manufacturing woes go beyond the widespread parts shortages that have hit the auto industry as a whole. The electric vehicle startup — which delivered just 679 vehicles in the second quarter — is also struggling with problems of its own making.