Tax the business (on revenue or profit) at a high enough rate it hurts, then give tax breaks to incentivize “fully employed workers with benefits meeting ‘X’ minimums”….
Use automation if it is the correct answer for productivity or solving a given problem but you still have to kick in for the society you want to live in. Businesses shouldn’t get to harvest all of the value out of a society without contributing. Providing jobs was the old mechanism… now it’s evolving.
If they offshore hq to dodge taxation, tax the local product or service at a commensurate rate. If you want access to our marketplace, you chip in, too. That should go for every country on the planet.
The answer to this problem is taxation and UBI. Give tax breaks for businesses with ‘fully employed’ jobs (including benefits packages) and hit businesses that automate jobs away even harder.
Tax the things that make society worse and incentivize the things that make it better.