But who is getting celebrated? The people who spent a lot of time on the original thing, or the AI rewrite that everyone now uses?

The people benefit from all human knowledge, future human beings.

if only we lived in such a world

I mean, all of it? Maybe someone born post rewrite will think wow AI made a cool thing but nobody is going whoa Postgres is made purely by AI?