If no GPU required, why not a laptop?
My Thinkpad T14s has 8 core 16 threads AMD cpu, 32 gb ram, takes in any SSD you want to upgrade to, 3 display outputs, 8+ hours of battery life, magnesium build, thin and light (1.25 kg) that I bought used for 27k. The RX Vega 7 iGPU is fairly capable of almost all new games if details are lowered.
...And thinkpads are well known to last a decade.