Depends on your uses. Threadripper is for workstation usage.
If you need
- lots of threads
- more than 16 PCIe 4.0 lanes
- more than 128,GB RAM.
Then Threadripper is better.
For the vast majority of users. The 5950x is better. As the per core speed is faster. There are very few uses which can make use of any more. You'd just have an expensive CPU where most cores are just idling.
In fact, for most users. Even eight cores is overkill.