This is likely:
1.) Dead motherboard
2.) Loose heatsink
3.) Insufficient power
4.) Dead processor
5.) Corrupt RAM
I ordered these in likelihood, as motherboards are known to die if they're not provided with safe power. Heatsink is easily fixable with another heatsink or properly mounting the original (caused by shorting; anything metal touching a motherboard, frontside or back, is never good... excluding the mounts, of course). Power would regard enough wattage and voltage to get the computer to run, and if this is a manufacturer's build, I wouldn't mind this too much unless you got a new video card or something. Dead processors are rare, and are the result of power issues like surges caused by current. It's difficult to do, but RAM can get corrupted.