It's supposed to be on 24/7 and I assume they just found that it's the easiest to reboot mac OS on a cronjob every Sunday to keep the system stable, not like it's necessarily made for that job.
I don't think there's ever been a Mac made for embedded use, in the case of the Facebook one, they had the money to put in the engineering to build a custom solution. I often see iPads running zoom rooms as well though.
[1]: https://twitter.com/Foone/status/1310377930661351424?s=19