That’s something that more than half of humans would disagree with (exact numbers vary but most polls show that more than 75% of people globally believe that humans have a soul or spirit).
But ignoring that, if humans are machines, they are sufficiently advanced machines that we have only a very modest understanding of and no way to replicate. Our understanding of ourselves is so limited that we might as well be magic.
>if humans are machines, they are sufficiently advanced machines that we have only a very modest understanding of and no way to replicate
Well, ignoring the whole literal replication thing humans do.