This is Tesla's margins collapsing because of less than forcasted demand for luxury vehicles. Battery prices have dropped much more slowly than the prices of EVs.
They're the only ones who have been mass producing EVs for more than a few years. Sure it's their margins decreasing, but that's because the decreased cost of batteries mean that other car makers were finally offering competitive offerings, in part due to the accumulated decrease in battery price since the original models were released.