He definitely got stabbed on purpose, maybe dodged just enough so the girl didn't touch any important organs.Doesn’t really make sense that he couldn't react to the sudden movement, when from his glare he was still clearly alert - and I highly doubt the girl could have moved as smoothly as the android in Ex Machina.