hard as his existence had been these millennia , deep and complex as his history had flowed , he had always known he was doing what robots inevitably had been constructed to do -- to serve human beings .