The received wisdom is that any repair, done by Apple or anyone else, negates the waterproofing.
To be honest Apple products tend to be long-lived these days. The MBP I'm typing this on is 12 years old, my iPhone is 5 years old. There was a time when batteries would last 12-18 months but we seem to be past that now.
(Probably going to buy a new laptop this year...)