AI is not specifically not deterministic from the enduser's perspective. they throw randomness into it and hence why an exact prompt wont produce the same exact result.
a compiler on the other hand is generally pretty deterministic. The non determinism that we see in output is usually non determinism (such as generated dates) in the code that it consumes.
If your argument is that compiler output is more deterministic than image generators, how does that help?