I think it will affect men and women differently. I have read that men define themselves by their work more than women because of our innate instinct as providers. When women are laid off of their jobs, they dont take it as hard, psychologically, as men do. Men without jobs become depressed, introverted, and lose motivation to find new jobs. Women feel less useless because there's no instinct to become a provider for a whole family.
Personally, if my job was made irrelevant by AI and I was able to reao the rewards through universal basic income, I would be very unhappy indeed.