The Defense Department is testing out an artificial intelligence tool to help the agency write contracts and speed up the federal acquisition process.