Exactly. Most actions in idle game mode (i.e. when there's no active battle, micro or macro to be done) are null, the gamers simply repeat random meaningless keystrokes; this helps with being always alert and ready for anything that requires a rapid response.
An AI doesn't need to do this.
Source: Ex pro Starcraft (Brood War) gamer.