It's a risk, not a guarantee, but there's nothing about macbooks that make them more susceptible to it than any other laptop with a li-ion battery. The batteries age. If they're in a machine that runs hot they age a bit faster (and my 2020 Intel MBP runs hot and is plugged in near 24/7), if they're charged to 100% all the time they age a bit faster (but battery management software like Apple has had for years nearly eliminates this risk factor).
There was, however, a batch of macbooks in 2019 that got recalled for a defect that increased the chance significantly, and perhaps that's what the parent poster has in mind.
I was referencing my own experience with 2010-2016 Intel Airs and Pros ending up in the Hazardous Materials bin with bloated batteries, but good to know my current M1 Max will be up to the task whenever I can afford to upgrade.
What? What macbooks is this? My mac book air has been plugged in most of the time since 2013... I've replaced the battery once I think, but only because the battery life had decreased to 10 minutes.
my 2017 macbook pro got pretty bad spicy-pillowitis from being plugged in all the time. It got so bad that it wouldn’t sit flat on the desk, and I thought the trackpad was broken, but it was actually just unable to depress since it was right above the battery.
I just got rid of a 2013 MacBook Air earlier this year because I discovered two of the battery pockets inflated. But I never did a battery replacement, which I probably should have when I stopped using it as a laptop.