Could be power supply or it could be overheating in the motherboard or graphics card. Are you seeing any graphical corruption at all before the machine shuts itself down?
Here are some utilities you can use to check mobo temp, graphics card temp, fan speed, and the like.
http://mbm.livewiredev.com/
http://www.hmonitor.net/