Horses could not be retrained to do jobs other than those replaced by machines.
Horses did not have voting power.
A large number of unemployed horses would not go on robbing and killing humans in a mob.
And decrease in human population is welcome until some point. (We have relatively more educated people having less / no children, and backward, dumb stupid people having more children, which is BAD).