AI is more than just a bad guy in sci-fi films. How close are we to creating computers that actually think on their own?