What time period are you thinking about for Apple? I’ve been using their laptops since the last G4 which is twenty years. They’ve always been substantially more accurate about battery times.
For example I would be surprised if there is any laptop, which is sufficiently fast for my usage, and it's battery life is more than 2-3 hours top. Heck, I have several laptops and all of them dies in one-one and a half hours. But of course, I never optimized for battery life, so who knows. So in my case, all of them are lying equally. I don't even check battery life for 15 years now. It's a useless metric for me, because all of them are shit.
But of course for people who don't need to use VMs, run several "micro"services at once, have constant internet transfer and have 5+ Intellij project open at the same time which caching several millions LOC, while gazillion web pages are open, maybe there is a difference, for me it doesn't matter whether it's one or one and a half hours.
For literal YEARS, Apple battery life claims were a running joke on how inaccurate and overinflated they were.