What you describer definitely sounds like a power issue. Have you tried pulling everything out and running it with onboard graphics just to begin ruling components out? A long time ago I had an issue like that and it was my gpu shutting the ps down. I would discourage you from attempting to flash the bios while it is behaving like this.
Asus ROG Crosshair VIII Hero Wi-Fi Gigabyte X570 Aorus Master, AMD 3900X, EVGA 360 aio, 32gb G.Skill Trident Z Neo, Samsung 970 Pro NVME 512gb, WD Black NVME 1 TB, Crucial MX500 2tb, Zotac GTX 1080 AMP!, EVGA Nu Audio, CM HAF 932