Software can be an engineering discipline doesn't change whether it's a human doing it or AI doing it.
Arguably engineering is something AI should be really good at since you're just trying to compute a working product given constraints, formulas, resources.