No, a machine and a tool are not the same thing, though they are related; a tool is typically a simple device used to perform a specific task, often by hand, while a machine is a more complex system, often with moving parts and a power source, that can perform tasks automatically or with less human effort.
I said that, and basically, they are in the same category.