From 40k wikia. Take with a grain of salt.
Artificial intelligence (also refered to as "Abominable Intelligence" or "Silica Animus" in the Imperium) is generally prohibited within the Imperium of Man unless a human mind is combined with it or serves as part of its circuitry. This is to ensure the intelligent machine does not rebel against its human masters. However, some machines are allowed such an intelligence under the guise of having an especially active machine spirit. An example of this is the vehicles of the Space Marines (for example the Space Marines' Land Raider main battle tank, which can continue to move and fire, albeit with a lesser ability, even if its crew is unable to fight). Imperial Titans have particularly complex machine spirits and can exhibit complete personalities of their own, though they still require a cybernetic interface with a human Princeps to function at their full potential.
|