I actually have both 5900x and 11900f, that's the trouble with this site :)
This is a hell of a lot smaller...it also doesn't do much by itself.
Depends what you wanna do with it. I swapped my mac mini for a customised 16GB one because 8GB of ram is useless if you do anything more than light browsing. With 16GB, photo editing is great now. I also have a 3900x which is a joy to use but somehow Lightroom does AI stuff faster on the mini. All in all, if you don't do anything pro, the M1 Mini is a fantastic device but make sure to get a 16GB ram one.
Raptorlake will b good