In a way, software engineers are constantly automating their own jobs each time they improve code-reusability. The reason they haven't driven themselves out of work is because in software and especially in games, as soon as you automate something, your ambitions immediately expand to fill the void. I think the uniquely creative + technical nature of games means the industry will be more resistant to automation...however, it is also the source of crunch.