These do not grant anything human rights, they grant things the status of legal personhood, which has a very specific set of actions that an entity is legally acknowledged as being able to take, such as signing contracts and owning property, as 2 examples. They are sometimes called juridical persons.
You can't be charged with assault against a company for punching a building, or kidnapping or illegal detainment for stealing an object granted legal personhood.
It doesn't literally treat (or conflate) these things as being the same as humans.