In your blog, you talked about the possibility of unemployment with regards to automation and the provision of royalty to employees who created the solution. I think automation will not replace human, but they will co-exist. As companies use robotic solution to improve productivity, they will also need software engineers to maintain the robots. In fact, the PwC report (https://www.pwc.com/us/en/industrial-products/assets/industrial-robot-trends-in-manufacturing-report.pdf) mentioned the possibility of robot-human collaboration.
With regards to solution ownership, I think the company owns the solution. In fact, some companies are putting clauses in their employment contract to protect their trade secrets. The World Intellectual Property Organisation (WIPO) suggests that companies should include the management of intellectual property in their IT strategy. (http://www.wipo.int/sme/en/documents/trade_secrets_employee_loyalty.htm