You're thinking it the wrong way around. The default is that a person always owns the result of his work. Employees sign an agreement to give that result to their employer in exhange for a wage. If there is no agreement, the person who did the work will keep owning the results.