My guess is not much.
However, there is also the cost of consumers needing to upgrade hardware when things start getting slow again because of these developer choices.
There’s a figure floating around that if consumers kept their phone for 1 more year, that is the equivalent of taking 100,000s of cars off the road. Not sure how reputable that study was though.