There is no magic,
I am of the opinion that there's no magic in sapience in the first place. Our brains are just pattern matching, statistical prediction machines that have had trillions of iterations of improvements over time. The intelligence we flatter ourselves with is only a small part of what we have evolved in our brains. For eons the problem space was all physical, but with AI, the starting point is the "intelligence" piece.