Tesla's Shanghai Gigafactory is going offline for an equipment upgrade, adding some uncertainty to third-quarter numbers.