Several major dockworkers’ unions from around the world have formed an alliance to resist the expanding automation of quayside operations when it is introduced without agreements with workers.