It's a simple formula, and a much-imitated one. Somewhere else on the battlefield your opponent is doing the same.
A few units and a battlefield with scattered resource fields at your disposal, you build a base, harvest these resources, and use funds thus gained to construct an army. Command & Conquer games, in the past, have followed the same recipe. Westwood isn't exactly a name people associate with innovation.