I already know what the rightwing will answer with.
Should there be laws limiting a company from investing in technological automation that replaces human labor?
The keyword here is limit, not eliminate. This problem is only going to get worse and worse in the coming decades.
In a word no. Laws of that nature only serve to cause companies to leave this country. Far better to retrain the workers into a profession that is needed.