...given the lack of corrosion in a vacuum.
At a minimum, ships go through a lot of thermal cycling.
Entering and exiting jumpspace and hi-G manuevers may not be a stress-free either. Also, there are perhaps micrometeorite/space garbage strikes (depending on your view of Beltstrike.) Add combat operations and I don't think we have to assume such long ship lives.