Your 1U server seems to be Ivy Bridge-based, which is about a decade or so newer than the Pentium 4 and much, much more energy efficient - and there's a lot of cheap second hand hardware out there from that era as well.
My Xeon cpu is Intel® Xeon® processor E3-1220Lv2 with 17W TDP wow! It was released in 2012 while last of P4s were sold new in 2008 (but first were released in 2002). So yes, you're right there is a decade between these two. In my mind (incorrectly) they were in the same "era" as many of my small business clients had lots of PCs with them at the time of Ivy Bridge Xeons.