The main character of this movie is a cop (or something similar). It takes place in a world where almost everyone has some kind of enhancement / robotic implant, and the main hero is quite strongly against those enhancements. But towards the end of the movie it turns out that he has some artificial parts himself as he had to have them operated in otherwise he'd die (not sure now if he got almost killed in action or had an accident).
I think he got assigned a partner who was a female robot / cyborg (but looked like human).
It was most likely a live action movie, released in the 2000s.
Movies that are NOT it:
- Ghost in the Shell