These problems have existed long before AI was ever actually a thing. What the robot is doing now is just telling everyone the quiet part out loud. "You were always replaceable, and the only reason we havent yet is that you are still useful to me as a slave."