Covid lockdowns in China resulted in a rare drop in production and sales for Tesla in the second quarter.