Artificial intelligence (AI) is automating core parts of software development, forcing engineers to rethink their roles.