That is the question society is currently asking with articles like this one.
Given that (allegedly) "your salary" won't be the answer for a significant chunk of the population soon, and all that money will instead (allegedly) go to the bosses doing the firings, and the AI companies they employ instead.