Tesla posts surprise $2.17 billion third-quarter profit, up 17.3% from a year ago

DETROIT — Tesla’s third-quarter net income rose 17.3% compared with a year ago on stronger electric…