That might also have bad consequences (not because the idea is bad, but because corps will try to route around it). It'll start with pieces of the software not being able to be released because they were licensed from a third party, and end with software development teams being organized into contract shops that own the code and thus (oh! How sad!) are regrettably unable to supply any code after the bankruptcy of the main entity. Would need very careful rules from regulators to try and anticipate tricks like this.