On average, Tesla batteries are at 80% capacity at 200,000 miles. So no, I haven't factored in battery replacement cost. Electrical components typically fail early if they fail at all, so any replacements would be covered under the generous battery warranty.
And there are owners that haven’t even gotten to 70% at 300,000 miles. And where gas is more expensive, and electricity is less expensive, like Washington state, the repayment period is more like 100,000 miles.