I have to be honest, your suggested build sounds like it's WAY overkill. If money's no object, more power to you, but I don't think you need that much horsepower to do what you're looking to do, unless you happen to be on the fringes of performance needs.
I agree. I used Plex for years but have gone over to Emby (for these purposes they are more or less identical, and I share with several friends/family members) - IMHO:
Look for a Xeon-D SOC board, like the 1541, which is fairly popular still and can be found combined with MATX boards with lots of storage options (such as the ASRock Rack D1541D4U-2T8R - lot of Datto system pulls that used that one pop up on Ebay and here).
It can handle multiple streams and then some and not consume a ton of power/turn your room in to a space heater while it is at it.
Forget trancoding 4k. As someone else has already pointed out, almost all the 4k media you might want to stream is also going to be HDR, and there's no tone mapping, meaning transcoded streams will look like crap in addition to taxing the hell out of your CPU. You want clients that can direct play 4k (plenty can, including Shields, newer Roku Ultras, ATV 4k, and so on). As far as sharing them over your WAN, pretty much forget about it unless you've got serious outbound bandwidth and no data caps. Not saying it can't be done, just that it probably isn't worth it. All my 4k stuff is in a separate library that doesn't get shared.
I use Unraid for my media server and moved my FreeNAS to backup duty a few months ago however I'm seriously considering going back. Not a huge fan of Unraid. Maybe I'm just used to FreeNAS but I find myself screwing around with Unraid a lot more and have had some stability issues with recent (non-beta) releases. FreeNAS definitely has a learning curve and requires more upfront planning for storage but mine has been going almost 5 years now and I could count the major problems I have had with it on one hand, and those were due more to me not understanding something than anything else. Performance-wise it's better than Unraid, particularly the sequential disk reads media streaming needs, which isn't surprising with a striped file system (I use ZRaid2 with 8 10TB WD Reds).
Whatever road you take though, don't think you need to brute-force it with CPU.