Aaannndd.. The chickens have come home to roost.
Failure of management to see past their collective noses, willfully or otherwise. They could have started investing in BEVs a decade or more ago. Tesla was reporting how they were doing; it wasn't made up, it wasn't a fraud, and the HQ building is nominally full of people who can read a balance sheet, evaluate a company, and see which way it could go.
Had anybody put two and two together, they could have then put money into the R&D budget. They could even have raised capital with stock. Or loans. Or cut back on dividends, in preparation for the on-coming storm. They could have arrived now with a smoother transition.
But, no: Ostrich style, they put their heads into the ground. Failure of management.