NASCompares has an interesting roughly 15 minute YouTube presentation:
HOW LONG SHOULD YOU EXPECT A NAS TO LAST? (RAID Room)
These guys discuss the issue and considering how expensive these things are to set up and populate with drives (never mind the ridiculously jacked up prices for SSDs and even HDDs due to A.I. industry demand), it's a valid concern.
It's a complex topic - they discuss how video standards have grown (e.g.: 720, 1080, 4K) and the hardware to support that changed, and ethernet speeds (e.g.: 1, 2.5, 5 and 10-Gbps), so even if your NAS doesn't 'break,' you may want upgraded capability later. And the more use you demand of it, the faster you wear out those drives.
Spoiler: an estimate given was for simple file storage backup NAS 10 years, if some video editing on a daily basis and you're pushing it to the limits probably 5 years.
Of course, whether you use SSDs and/or HDDs recommended for NAS I suppose might bear on it, too.
In other words, no clear easy answers, but food for thought. A NAS system can run substantial money, so lifespan needs to be considered.
One thing I question late in the video about things being made for obsolescence. From what I've read elsewhere, the legendary longevity of household appliances in the distant past was often based on anecdotal examples, not the averages, simpler devices with fewer features so there was less to go wrong, and it's often cheaper to make things now that are less repairable, so there are tradeoffs.