Tesla Inc.’s profit plunged despite a record quarter of vehicle sales, reflecting ongoing strains on the automotive business ...