Billions of dollars have been spent over the past few decades to arm federal agencies with more agents, guns, ammunition and military-style equipment.