It's not surprising that AI could write code.
The concerns of AI are valid, in that they need to be maintained to systems that don't try to take over society.
Ultimately, if there is enough produced so that people can survive with little to no efforts, then the need for money will evaporate anyway and people can spend their time on ventures of passion.
RE: A.I. Can Write Software Now