These moves don't make any strategic sense, but I think it's safe to say their auto business is in deep trouble. Q1 was miserable, and somehow they went from 30%+ annualized growth (for years to come) to possibly no unit sales growth this year. But keep in mind with the BEV price wars, no unit sales growth means gross revenue is actually shrinking.
Tesla is facing two dire trends right now. In the U.S., Musk has basically alienated many of his core customers or potential customers (liberal minded voters who care about carbon emissions) while in China, he's facing an onslaught of cheaper competition. Besides dismissing Elon and hoping U.S. customers return, how can Tesla rejuvenate sinking demand?
I'm not necessarily a long-term Tesla bear (wouldn't touch the hype stock itself), but their industry position as of today is looking very shaky. Think about it, no company that's growing 15% YoY would axe 10% of its workforce when the global economy is stable. Well, except for Sundar Pichai probably.