It was first used in the 1920 play "R.U.R. (Rossum's Universal Robots)" by Karel Čapek. In the play, the word "robot" refers to artificial workers created by the character Rossum.
The word is derived from the Czech word "robota," which means "forced labor" or "drudgery."