The military said something like: "Telephone routing is point to point and inflexible, if the enemy cuts out 1-2 lines of communication, an entire section is completely cut off. We need something better." That something better turned out to be packed switching where you just throw stuff along a network and the network ensures that the packet reaches the destination, but you could theoretically have two packets going from Bucharest to Johannesburg, one through India and the second one through Canada.
It's much easier than the same operation for physical infrastructure.
If you look at the "shot history" of NIF -- the vast majority of their facility's energy is spent on actual DOD weapons research, not fusion power research that would be incidentally beneficial to the DOD: