Maybe what I am asking is ambiguous. However, @dogma said that anything you work on during the time you are employed might be regarded as company IP.
What I am asking is what happens with work/projects/apps that someone has done on the side before joining a company, and especially in the case that this creates a revenue stream.