While the owners of C&C made them available for free. Thus they can be legally downloaded, even directly from within OpenRA.
And there seems to be some market for nostalgia around selling old games. We can see new versions of old consoles, bundles of old games (with preconfigured emulators), ...