Tesla shares plunged almost 18% this week after the company missed on earnings and turned cash flow negative.