Nor can those machines acquire their own energy.
Those capabilities -- self repair and energy collection -- should allow many orders of magnitude greater longevity. The fact that they haven't indicates that those capabilities are not optimized for longevity. Ie., we were not 'built to last.'
We were optimized for species-longevity through reproduction, not individual longevity. The fact that we've existed as a species for hundreds of thousands of years is more like what you should expect from something that is built to last.