Literally any investment is a divert of resources from the present (harming the present) to the future. E.g. planting grains for next year rather than eating them now.
Maybe devs are a bad example, so replace them with “retail workers” in your statement if it helps.
Is “put out of work” a good thing with no practical limits?