Robot suicide, what an interesting prospect. I can't think of any surer sign that and entity has achieved consciousness, than when it makes the decision to end its own "life".
The contentious nature of consciousness is in the "makes the decision" part of your statement, suicide is pretty mundane as far as decisions go.