You're not entirely wrong, back in 2019, Elon Musk tweeted about replacing individual modules:
"Model 3 drive unit & body is designed like a commercial truck for a million mile life. Current battery modules should last 300k to 500k miles (1500 cycles). Replacing modules (not pack) will only cost $5k to $7k."
That said, they still don't offer individual module replacement as a repair option, for any of their models. Instead, they offer new or remanufactured battery packs, and take your old pack back as a core. Then I'm pretty sure Tesla themselves then open up the used packs, and can replace modules and offer them as remanufacture packs for someone else.
It's not like the old Prius HV batteries, where it was pretty easy to open up the packs, swap and rebalance modules, and then put it back together. There's only a couple of firms at present, also around these forums, that can do similar things for the Tesla battery packs, and offer a more reasonable used pack replacement for Model S/X currently.