A dead person, immediately after death, is the same assemblage of parts as before death. What has changed, are the processes.
In any case, this argument is pointless. “Machine” is not defined precisely enough to settle the question on the basis of the definition.
If you want to see a living system as a machine, that’s your choice. For me, it just doesn’t match what I expect of a machine.