"Physical" engineering fields will probably come first... think AI-generated architecture, with AI-generated structural engineering, plumbing, electrical wiring, etc... with human-guidance of the generative process, and human-review/accountability of final output. Amplification of humans, not obsolescence.
In software, yeah boiler-plate and function-level code-generation... I could also see generating trivial UIs for CRUD apps, or no-code data-pipelines for small businesses... maybe even generating high-level architectures for new services... but we're far off from AI auto-generating code for enterprise applications or foundational services. The differentiation being making changes within an existing complex domain/code-base, in contrast with generating new assets from nothing.
Most of the math for structural engineering is already done through software, we just don't call it AI. The difficult part and valuable part of being a good structural engineer is translating requirements and dealing with clients. The actual math and engineering work is often not much more difficult than what's done taught in their undergrad, and much of it is offloaded to designers anyway.
Source: My family owns one of the largest civil engineering firms in my home province.
In software, yeah boiler-plate and function-level code-generation... I could also see generating trivial UIs for CRUD apps, or no-code data-pipelines for small businesses... maybe even generating high-level architectures for new services... but we're far off from AI auto-generating code for enterprise applications or foundational services. The differentiation being making changes within an existing complex domain/code-base, in contrast with generating new assets from nothing.