Had this issue a number of months ago and it started again yesterday. Even worse, on this random reboots, the phone would often automatically call emergency services. The fact that this issue has been known for a long time and was never adressed by Xiaomi only indicates one solution: never ever...