Disclaimer: I am not a programmer/coder
AI's native tongue is essentially machine code, is it not? If everything higher level than this is an abstraction created to simplify things (essentially) for human coders, shouldn't AI excel in creating solid efficient programs from the ground-up, entirely at the lowest level?
Hope that made sense if not read the disclaimer ;p