I have a ThinkPad T14 Gen 5 AMD (besides MacBook Pro M1 Pro) and with some powertop tweaks it lasts about 6-7 hours. Not as great as the M1 Pro, but generally good enough to work a few hours without power. The nice thing is that I loaded it up with 64GiB RAM and a 2TB SSD for cheap (almost infinite NixOS generations, yay!).
The MacBook has a better trackpad, stronger case, better battery life, far better display. But the ThinkPad has NixOS running perfectly (I had Asahi on my Mac Studio, but with the lack of Thunderbolt and not so great battery life I don't want to run it on a MacBook). At any rate, the Mac is going to be better, but I have to sacrifice a bit for tech-feudalism-free computing (Mac is slowly becoming more and more closed).