Compilers are deterministic machines built by very smart humans. CNC manufacturing is deterministic machines built by very smart humans. In both cases, they produce higher quality output with more precision and repeatability than almost any skilled human.
LLMs are non-deterministic Autocomplete that produce lower quality output with worse precision than a human, and nobody actually knows how they work.
Comparing them to justify AI is simply not valid.