In the case of the artificial intelligence it can only know what you programme it to know or be able to know. It can never step outside that, do anything that can't be traced back to the initial conditions.
Its the same with us. Whatever thoughts occur in us due to the instantaneous arrangement of atoms/energy/laws of nature at a particular moment in time, are all the consequence of a prior arrangement and those too a consequence of a prior arrangment. It's an infinite regression all the way back to whatever initial conditions started it off. Thus our thoughts today aren't our own but were guarenteed (as is everthing else - not just thoughts) to happen once the initial conditions...er... initialized.
Similarily, tomorrows thoughts are guarenteed to take place.
Thus, determinism and no absolute thing as 'us'
Unless of course God exists and somehow made a situation where our thoughts can be our own and we actually exist. Like, for instance (as I believe) knowing us in eternity before the initial conditions which set the ball rolling