Mine has started turning off more or less randomly as well. It started a day or two after I installed 10.4.7. It hasn't turned off every day, but today it has done it 7 or 8 times, enough to get me very frustrated... I don't know if it has anything to do with the 10.4.7 update, but since it has only occurred since then it's at least one possibility. What maybe goes against that theory, is that a couple of times when it had shutdown and I then tried to start it again, it simply shut off again without getting so far as to actually turn on the screen. If it's software related, it seems unlikely (though not impossible) that it persists after a shutdown...
It does seem to happen more often (or only?) when I run this Java program that uses plenty of processing power (100% of one core). I monitored the CPU temperature while waiting for it to shutdown - it usually stayed below 70C so I don't think it's the CPU temperature. The laptop case didn't seem very hot neither, at least I've felt it hotter, so I doubt it's temperature related at all...
Very annoying!