Electric lighting actually did the inverse; Because of electric lighting, people quickly became overworked, and that's what directly formed to the creation and empowerment of unions.
Yes so why do you feel the newest round of technology won't also end up creating more work and jobs? The people being replaced by electric lighting and motorcars would have found it unimaginable too that it will lead to more jobs instead of killing large sectors of jobs without replacement.
Because nobody was 'replaced' by electric lighting. Motor vehicles did take jobs, but they created more jobs. And you could argue AI will lead to that too, but the primary goal of AI is complete invalidation of human work and creativity. Not only that, the fields AI touches upon are sweeping and all-encompassing. AI may create more jobs, but I'd be skeptical if it leads to more jobs than it takes. Unemployment is already a massive issue these days, and AI certainly doesn't help.