Go back >200 years. In England, Spinning Jennies replaced weavers, and there were luddites who tried to resist, but the solution was not to start subsidizing weavers; and not even a specific tax to weaving machines to provide for the weavers specifically; the solution was to slowly build a social security system, and not just for master weavers (who had been relatively well off) but everyone.
Agreed, taxing one company to pay another does not make sense, but neither does subsidizing people of a certain profession just because they are no longer productive, by putting a burden on something productive just because it is better.