Satoshi A.I. It was not.
Today, There are studies poetry and film scenario writing with A.I.
I do not know any artificial intelligence programs that write their own program? But what is needed for this is to write the algorithm. Once the algorithm is written, you can convert it to any program language
Written algorithm is already a program in its own right
The very process of formulating an algo doing something basically comes down to writing the sequence of actions (aka set of rules) required to arrive at a given result in some formal language. Converting it to a programming language is just another algo which translates this set of rules understandable by humans into the form understandable either by a computer directly (opcodes) or through another algo (compiler)
It is not right to define the concept of algorithm as software.
The software is machine commands that are created to perform certain tasks. Algorithms are not in the format the computer understands. An algorithm is a specific rules string that you define to do a job. And for each platform these rules change the sequence. The software will emerge when you code these rules for the relevant platform.
The two are different things.