They don't hate at all. They are just maximising profit (which they have an obligation to do). If they didn't replace you with more efficient things, they would be outcompeted and die.
So, feel free to criticise capitalism and how inhumane it is, but don't anthropomorphise it by ascribing human emotions to the system.