I had similar behavior during the beta on my Mac mini M4 where it would reboot and then just start installing again. At one point it seemed to even entirely invalidate the download and it had to download the beta again (I believe it was beta 8, but could be wrong).