In star Trek there's the prime directive, the enterprise crew follows it because it's a core requirement of the federation.
Just because the LLM has an objective to answer queries for example does not mean it chose it. or has the intent itself as sapient being would.
But an objective function is a core element of ML models, no? And LLMs have objective functions, so far as I'm aware.