The drop in Model S/X sales is huge (17,650 2019 Q2 -> 2340 2021 Q2). I'm sure buyer are just preferring the newer model 3/Y, and the total sales have grown a lot. But the Fremont plant producing S/X really isn't producing much.
Edit: Turns out the shift is just a retooling