It also helps to have $4.5B (in 2024 dollars) to spend on a project.
https://airandspace.si.edu/collection-objects/voyager-spacec...
https://airandspace.si.edu/collection-objects/voyager-spacec...
Especially for a first time in all of humanity type of mission, half a century ago, which yielded brand new data on faraway objects we'd never had, and considering it's still going and reporting data, it's arguably a bargain basement price for such a thing.
My point was the comparisons that are often made, to things like consumer electronics, really aren't apt.