Because of the inherent nature of this trope, it is always a case of Breaking the Fourth Wall. Although a few games had used this trope earlier, Blizzard Entertainment is best known for using it in Warcraft: Orcs and Humans (the Trope Namer) and making it a standard feature of all their games it has since spread to other companies and is now almost considered a mandatory feature for any Real-Time Strategy game.
In games that have units vocally acknowledge when you select them, clicking too often can make them annoyed or sarcastic, or both.
Will you stop doing that already?! Sheesh, what's wrong with you, anyway? So is poking them repeatedly for no reason when you already have their attention. Alleria Windrunner, Warcraft II: Beyond the Dark Portal