1. The director was aiming at us being sympathetic to Ava. But she turns out to be a cold blooded emotionless killer. So that didn't work.
2. Kyoko stabbing her creator is odd. Unlike Ava, she should not be able to violate her programming. Thus by the 3 laws of robotics, it would be impossible.