The joke is that you have to replace the traction battery twice in a Prius but you never have to replace the traction battery in a Tesla. But that's an indictment of the Tesla, not the Prius.
A Prius battery will last 150k km or so, but since the car can go 500k km +, that's a couple of battery replacements. A Tesla battery will last about 300k km, but that's longer than the rest of the car will typically last, so you never have to replace it.