I have she same issues with my Mi 9 SE, it's 99% hardware problem, but no one managed to pinpoint it.
Don't have warranty, but I do have repair equipment and wold attempt repair only if i knew where is the problem. I can live with random restart for a while, but 2 times it got "bricked" so i...