The US Department of Defense is a central actor as it collaborates with tech companies to integrate AI into military operations.