I hate machines gaining "sapience" when the trope was brought around the time where the world barely had mechanical calculators.
No, it didn't just grow a brain. If it did, it was purposefully written into its code. That is how we know it has no mind, soul, self, etc!