People always say that AI is so complex and hard. But how does AI code look like?

What is the major difference to default programming? Does AI really overwrite its’ source code, like presented in films?