DETROIT — Electric car maker Tesla Motors Inc. ended its turbulent second quarter with a larger-than-expected loss but said it remains on track to increase production in the second half of this year and introduce a new car in 2017. Tesla’s second-quarter loss grew nearly 60 percent to $293 million as it delivered fewer vehicles