Elon Musk has a very specific vision for the ideal factory: densely packed, vertically integrated and unusually massive. During Tesla Inc.’s early days of mass production, he was chided for what was perceived as hubris. Now, Tesla’s original California factory has achieved a brag-worthy title...