Second the nvidia shield. My original shield is still kicking all these years later and they give frequentish updates.
Although recently I’ve been using my Apple TV more, I like the interface better. Still use the shield for anything I want in proper 4K with original audio.
The only downside to the NUC is that it maxes out at 32gb of ram. I have the fastest i7 model ($1,600usd) and it's an absolute beast. I offload my compiling and services to it and it handles everything like a champ, gpu stuff notwithstanding. I do hit the wall with some stuff at 32gb so a 64gb option would be ideal. I would never buy a mac to run servers and I would never buy a NUC to replace my Mac workhorse.