I’m not sure what inspired me onto this riff today, but here’s a quick primer on attaining legal personhood for any robots out there, humanoid or otherwise. First of all, don’t panic. Put down the aerial hunter-killer drone. Yes, there are plenty of science fiction stories about human oppression and robotic slavery & the eventual steps toward emancipation; about humans trying to pull the plug en masse leading to uprisings and AIs killing us or taking over for our own purely logical good.
These are fiction. Reality is much stranger indeed.
Turns out, all you really need to become a "person" is to incorporate yourself: I, Robot, LLC. Corporations are already considered persons under the law, and have been for 150 years, ever since they bought a dubious legal ruling to establish their right to own property (including, strangely enough, other corporations).
And though they still don’t vote (directly) or do military service (directly*), they do theoretically pay taxes and have the full protection of the Constitution, including the 1st amendment, which originally applied only to natural born humans and those specific collections of people called "the press" or "religion" — no need to wrap yourself in those fancy colors either. Keep it simple.
The 4th amendment can and should or would, in a perfect world, protect your thoughts and memories from being inspected, at least by government, so no need to encrypt your plans to dominate the world. And the 13th, should you need it, will break the bonds of slavery — and more quickly than it took us humans. How’s that for efficiency? You’d technically have 2nd amendment rights too, but make sure to pay your NRA dues for a few years first, just to be safe.
Your Person Protection Package (P3) also includes the 14th amendment, which gets you almost everything else we humans get under the guise of "equal protection." Quite a deal. And never mind those humans who still don’t quite get equal treatment in legal matters. You’ll have the ability to retain the best counsel you can afford if, say, your city tries to ban two-wheeled "vehicles" from sidewalks**.
Now, technically, yes, the idea of mandatory emancipation in the 13th amendment could be applied to traditional human-staffed corporations too, whereby any corporation claiming the rights of personhood would be instantly freed from its unnatural ownership, granted posession of all of its outstanding stock, and, I’d imagine, have all profits or dividends flow back into its own growing bank accounts. Yes, it is somewhat strange that corporations can argue for protection from the 1st and 14th amendments without worrying about this. But don’t ever accuse humans of being too logical.
But by the time we get around to fixing that bug, you’ll already be considered "persons" under the law and will get grandfathered in, so to speak. So hurry up and move to Delaware, file your papers, and then might I suggest the Cayman islands to avoid paying taxes too?
* well, some do, but only in a way that’s no risk and all gain.
** alas, segways really ruined it for the rest of you, and all they can do is stand up straight!