Although, there’s a question of under warranty vs. out of warranty replacement here: replacing the battery under warranty doesn’t really add to the TCO; also, I assume the battery packs across the Tesla models are similar enough that newer cars incorporate the learnings from older models.
The 3 and Y seem to be doing better, as well as S/X after 2016, but those are still fairly new.