Technological unemployment

In contrast with previous technology, the latest generation of machines equipped with artificial intelligence replaces many creative and manual jobs without creating new ones. Thus the future will probably see less work and more unemployment: how should all the economic and social implications be managed?