Under current law, AI is not even an animal. Animals are in most states, just property. But in a practical sense AI could not be 'underage', due to the rate of growth of knowledge and intelligence in an AI. One hour for a true AI might be like ten thousand years for humans. Still, that does not impart wisdom and AI could know everything but be awfully stupid.
I'm of course talking about future law. As a homo and a furry I've had to deal with discrimination, studied up on prejudices, and noted a pattern that some people always want something to hate. It was jews, foreigners, other religions, dark skinned people, homos, etc, and every time society changes to accept the group they hated, and laws are written to protect them, those people switch to some new group to hate (is it still muslims and mexicans now? Or did they find some new group to pick on?) As such, with the advances in computer and genetic technology, I've pondered about the future where AI attains comprehension levels close to that of humans, or some people create custom animals that have human traits and intelect (chimeras?) or even modify themselves in such a fashion, and how these new entities will be extremely discriminated against by the same group of haters, whether it's because "they have no souls, and are a result of us playing god," or just because people go "ick" or refuse to empathise with them (as they did with black people during slavery). So, I think there will be laws in the future, but there will be a ton of hurt before we get there.
However, I still wonder, what if we have an AI that knows quite a lot, working for some company, but is otherwise "innocent" in a way, and some weirdo ends up virtually molesting it? Is there a chance he could break it by exposing it to concepts it was not aware of, and changing it's perspective enough to damage the functions everyone else has gotten used to it carying out? Like for example, it only worked in accounting, because it thought those were the only things important to the humans it interracted with, but after the incident it ends up wasting a ton of resources on downloading and cataloguing porn, possibly even erasing old records to increase storage space. Would there be a law that would punish the "molester" because he damaged company property, or because he interfered with the performance of a company employee, or would the AI be consiidered as a free individual, and it would be up to the AI to take the guy to court for screwing with it?