Oh, man. This is a really bad idea, so bad. I cannot begin to even explain how bad this is, holy crap. This is why people like Elon Musk and Bill Gates have been speaking out against AI. Even Stephen Hawking was speaking out against AI, it is because they probably knew things we didn't (like advancements in military AI).
They always say the military is ten years ahead technologically. Given we are already seeing incredible advancements in artificial intelligence, the result is going to be scary.
RE: Pentagon Spending $2 Billion to Develop Next-Generation AI