Automotive gross margin, a key indicator of profitability, fell to just under 15 percent in the second quarter, its lowest level in five years. Tesla’s operating margin fell to 6.3 percent from 9.6 percent a year earlier.