I am not sure it always does.
Do you view the NSA's snooping technology as a benefit to society? More high tech, well paid jobs have been created there.
Likewise I feel that a great deal of the tech involved in finance is of questionable benefit to society as aw whole. Does High frequency trading actually benefit anyone other than the banks?