You can change the way a program executes by interfering with the hardware. You can also run different programs on the same hardware.
You can run the same program on different hardware, and run the same program on the same hardware and get different results. I'm not sure the analogy gets us very far.