I think you have a moral right to offer to provide goods or services for people. They aren't obliged to want them though. I think it's on each person to find out how they can provide something people want.
Just because I enjoy coding or am good at coding, if nobody wants to pay coders then it's on me to find out what I can provide that they do want.
Sure. But what if that is "nothing"? Or something that pays so little you literally can't afford the necessities of life? Or it's only work you find objectionable (e.g. crime or prostitution)?
For all of human history, given enough time, money, and work, anyone could retrain into something that paid them enough money. "Try harder bro" used to be trite but true. In a true AGI/ASI world it may be an impossible demand. Is it still fair?
I see that as perhaps possible/likely in the near future.
The idea that there will be NO services humans can provide which anyone wants and therefore no possibility of finding any niche is so far beyond any experience or knowledge I have I can't even really speculate but I assume it would lead to either insurrection or wealth holders providing UBI.
Anything else, in the long term, amounts to murder through abandonment. It's no different than leaving a wounded person in a forest while the group marches ahead, even though the group has plenty of food and a stretcher and a car, and fit, healthy people to lift the stretcher into the car.