Technological advances that displace human workers are similar in effect to two other concepts with which we are very familiar in the modern age: outsourcing and free trade.
But in spite of the relative economic displacement they all cause, free trade, outsourcing, and technological displacement all have a positive net effect on the economics of the planet.