You're likely thinking of Ghost in the Shell (1995). In its world, Japan is technologically isolated and many citizens have cybernetic enhancements, blurring the line between human and machine. The film explores identity, consciousness, and the implications of a networked society.