My Switch had the same problem, and funnily enough, it only happened after I played BOTW.
Anyway, I had to send the console to Nintendo, which repaired the console, saying that the main board was faulty.
While I had the Switch, if I left it on while on the console logo, came back one day later...