Can professor terminate student's stipend at anytime?
What both the professor and the student can do will be specified in the contract / agreement or conditions.

If the professor is within those then yes he can cut the stipend: continued poor performance after a warning may well be relevant grounds...