Removing the charger from the box does have an environmental benefit. It's less plastic and manufacturing, and makes the packaging smaller meaning they can ship more products causing fewer transportation emissions.
That it also saves them money is just a massive boon to them.