I think the thing that finally might drive union membership in the software development industry, is going to be the need to be able to tell your boss "No. I will not debug or add features to any AI coded or assisted codebase."
Luddites, contrary to popular misconceptions, was an extreme form of labor action concentrated in jurisdictions with the most draconian enforcement of the repressive legislation England had in the 19th century.
It had nothing to do with arresting progress or being against technology.