Can CPU intensive apps cause sudden shutdowns?
Yes 

Overworking the CPU is what creates the intense heat, this intense heat is detected by the OS and shutdowns the phone to protect your hardware. (A PC works just the same).