ai was developed by.. guess who? intelligence agencies like the cia. they developed it many decades ago to better manage their growing databases and to help oversee all of their operations. it probably became part of their security infrastructure in regards to maintaining secrecy or keeping everything tightly compartmentalized. its the human factor that was a liability. people inevitably made errors or would deliberately leak sensitive information, or would provide false information. but an ai could be trusted more to do what it was told.  its been around probably since the 70's its one of the first questions i asked grok on x. it told me a similar answer, that its not really a recent invention.
United States