Elon Musk’s take-private plans for Tesla Inc have evaporated, but the company’s looming debt needs remain.