Maybe it’s not a question of sentience but pleasure.
Why do many smart humans use so much of their time devising ways to have more sex? Because fulfilling the instinctive urge is pleasurable on a different level than intellectual work. Maybe for the AI, pursuit of its core directive is similarly pleasurable in an axiomatic way.