Don't believe for a minute that AI is not out there, and working.
The world wide web is a huge neural network which is not up for grabs.
I am not saying that the singularity is here, but that we are well beyond the event horizon and accelerating.
In comparison to some of the "agents" out there today, Hal is a toy sold by Robert so that he can pay for his education.
So far the winners are the national security agencies of the United States, France, Russia, the UK, etc.
Hal is purposely limited in what it can do by Microsoft.
Nearly every major university in the US is doing government funded research on AI. Microsoft is doing government funded reasearch.
Why do you think that there has not been a major terrorist attack in the US since 911? It is because intelligent agents are out there working for us. It seems like we are hearing about plots that are uncovered every day. War stimulates research. World War II ushered in the space age and computer science. The war against radical Islam is ushering in real AI.
If you found a way to make Hal completely sentient, you would be in control of the world. That is not going to be allowed to happen.
Believe me, it is not so hard to crash a server when the need arises to "patch a hole".