Lenovo and other manufacturers provides configuration app to limit State of Charge for battery over a decade ago. Apple just implemented similar feature (but automatic) in 2020. Without that, battery is unnecessary degrading while plugged into AC with 100% SOC.
As seemingly half my coworkers needed batteries replaced on 2018 macbooks last year roughly as applecare ran out due to not being able to charge and work at the same time.
I think I got a pretty high number out of my first MacBook Pro before the battery swelled up like a bad bruise. But my current work laptop is now at 87% capacity with 82 cycles, so I don't have a lot of confidence in the battery lasting to 1000.