Can any Muslim country implement this law like Iran for example? I still dont get how a human could be given the power of amputating anothor for stealing.

If the conditions are met yes a just Muslim country can implement it.

Allah gives that power because stealing damages society. It leads to crime. It ruins safety in society. Look at all these consequences because of theft. So many people get killed while stealing or kill others while stealing. This law is aimed at protecting everyone.