The junior engineer will grow into a senior engineer
And not at all for you, because you're unlikely to retain them for long. Which makes this immaterial - AI or human, you're only going to delegate to n00bs.
(This is distinct from the question of which benefits society more, which is a separate discussion.)
And then quit after accepting a new job that pays them their modified value, because tech companies are particularly bad at proactive retention.