I think it's fair to compare. Excluding Apple's recent scissor switch keyboard, they've both been reliable and serviceable. They've both had a following over many years. Aesthetically, I've preferred Apple's keyboards and I'm sure many people feel conversely.
People seem to like apple keyboards, and I believe that they sincerely do, but it never made any sense to me. Apple has always had average/poor ergonomics in my book, from their weirdly shaped mice to slippery phones that people keep dropping.
Even regular cheap Lenovos have great keyboards compared to most laptops. Newer HPs are supricingly good, keys are too flat though and makes typing painful. Dells are atrocious, which sucks because 8-yrs ago they had among the best keyboards (together with Lenovo Thinkpads). Thinkpads are still ahead of the pack but they've been cutting travel lately in the thinner models.
Compare the same price MacBook for the same price Lenovo, and you will see how the rest of the industry has clearly figured it out. Not shilling for Lenovo, but yeah, there's nothing special about it.