Does Walking a 5K burn the same # of calories as using an elliptical/running a 5k?

Someone told me that they burn the same amount of calories. I am not sure if it really does. Also, does using a manual treadmill for 5k differ than using an elliptical for 5k or do they burn the same amount of calories?