It helps Apple by driving the tolerable purchase price (and therefore tolerable profit margins) up.
Put another way, they capture the same share of your computing budget and of the App Store market but build fewer laptops and phones.
Also, Apple is highly diffentiated at the high end (walk in repairs and support, long software compatibility timespans). Driving up expected lifespans makes their offering cheaper than the low end in the long term, allowing them to capture increasing percentages of the total market.
They just need to execute better on the software and industrial design side than they did in 2017. Laptops without usable keyboards, the new busted gesture based iPhone UI, and iOS 11.0 are all bad enough to force long term users to other ecosystems.