People ALWAYS worry about technology way more than they should. Jobs are always replaced by new technology but new problems are created along the way and we start dealing with higher order problems..
In the meantime government can help rehiring people by investing in public works and some industries. Also, we can extend the unemployment benefits to compensate, and raise taxes.