It can only do what you program it to.
There is no even semi intelligent, self acting, and self learning software that I know of. Once software can become truly self learning we will get true AI. But how the brain works and how we think is still a bit out of reach for the most part, at least in electronic hardware and software currently available.