It wakes up knowing nothing, and before you know it it's ready to replace us. Don't worry, humanity will always preserve itself out of pure and utter will power, and most of all, heart.
Art by me made with Blender and Chat GPT;)
(Before anyone starts screaming in the comments, I literally generated an image saying "A.I." as a lable on the side of the robot's head but you can't even tell here on OS lol, the robot is 200% a rigged 3D character in Blender made by me:p)