Elon Musk's car company has lessons for entrepreneurs about how to approach business during difficult times.