Technology primarily benefits those who own it. Applied science primarily benefits those who fund it, or at least reflects what the funders are interested in. There can be spillover effects that benefit everyone, but these don’t necessarily happen of their own accord.
I came across a good article on this topic in Technology Review. The lesson I draw from it is (1) technology is not a substitute for social and economic reform and (2) there is a need for scientific and technological research outside the domains of for-profit corporations and the military.
Who Will Own the Robots? in Technology Review. (Hat tip to naked capitalism}