This really flips the argument that Mac hardware is overpriced and underpowered on its head. Now Apple computers are a premium product from a performance perspective, as well.
I’ve done this exercise a couple times: pick a random Apple laptop configuration and find an equivalent from another vendor: they’re frequently so close price-wise it doesn’t matter (depends on what you want, but I’m willing to pay $200 or so for macOS and not having to deal with Linux power management.)