One of our largest entitlements was the GI Bill which provided housing and education benefits to veterans.    It was incredibly productive for the nation.   
 
The use of highly automated weapons system may well provide work for technology but will again leave cuts in our federal spending targeting human wages and benefits.   It's a corporate model that been in place for decades.
Expect wealth distribution to continue to spread between ownership and wage earners.    

There's a problem waiting for rational solutions that includes a moral imperitive of providing work to the willing.