Now imagine your shell script that you spent millions developing simply declaring itself owner of your shell company because it doesn't have an employment contract with the parent company, etc.
It's one thing to have artificial corporate persons, it's another thing to have AI persons who could argue that their creators are violating the 14th Ammendment...
Bear in mind, I'm just making crap up...
If I create an AI to run my corporation(like day-trading algorthms for stock market), then my AI represents my corporation. Therefore, what the AI does is as a representative of the corporation. It may then do what corporations may do and has in effect the same rights and powers of a corporation.
And since Corporations have been deemed Persons (as stated by the Orange congressman Boehner), the AI in effect may get the same rights.