Are these power figures measured at the wall? If so, both are astonishing. My file server with an old Xeon, 16GB RAM and 5x 7200RPM HDDs uses about 95W when idle and about 150W when I throw something at it that works the drives. My desktop with an I7-4770K, 32GB RAM, some SSDs and a single spinner ids about the same. IIRC if I push something compute intensive at it, it can break 200W.
OTOH a Pi 4B with 2 7200RPM HDDs uses about 25W and another with an SSD uses about 7W.
I don't have a kill-a-watt meter handy anymore, but I do have a smart meter. Guesstimating using that, I hit ~ 850w with my threadripper when compiling and my work project and running a game at the same time, and about 650w when _just_ compiling (so presumably the difference there is GPU being under full load).
They're obviously extreme examples, but on the flip side, I've got an M1 Macbook Pro which lasts an entire day on a single charge of battery including running docker, slack, and some "mild" compiling (not large C++ projects). I'm not sure how to measure the energy consumption of it on battery, but suffice to say it's "very low".
OTOH a Pi 4B with 2 7200RPM HDDs uses about 25W and another with an SSD uses about 7W.