In general terms, several industries have had a real, measurable impact on economies. The scooter, the diesel truck, the steel hulled boat, the washing machine, the cell phone... There are many successful companies in these industries that have a real impact on humanity and make a profit too.
I find it astonishing that you couldn't think of examples of businesses that have had a bigger impact on humanity than Twitter and Facebook.