You are absolutely right. Automation and AI are changing the job market, and workers will need to adapt to these changes. As you mentioned, some jobs will be displaced, but new jobs will also emerge.
this is right, even if AI or anything will take old job, people will adapt and will find another job.And it has always been like that.
maybe the human task in the future is to regulate these machines, although I doubt it.