PS4 shut down automatically


When I was downloading games last night, I thought downloading 2 games at same time was not fast enough, so I decided to download separately, then I tapped stop, my ps4 crashed. I thought after a while the machine would return to normal, when I came back I find the machine automatically shut down... Have you guys come across this problem?