Businesses often state that anything made during work time or with work resources becomes property of the company.
What if the things worked on belong to another company? For example:
People at company A do stuff on their work time for an unrelated-to-business company B. Does company A have the rights to whatever their employees produce, even though it was for another business? How would this be resolved?
Another example: Bob, at an IT firm, makes software in his free work time for another (non-related) company, which now uses the software that Bob made for their day-to-day activities. Can the IT firm that Bob fully works for take the software back? Or charge for use? Would the company care?
Bonus: What if he only did 10% of the software, then quit and finished the software after quitting? Does the original IT firm own the whole project? Or a part of it? Or something else?