They could have a very bare bone macOS based server operating system specialised for running virtual machines. Dont they have their own xhyve virtualisation layer?
Federighi mentioned during some interviews after the Big Sur presentation, that macOS is a great hypervisor for vitualisation, when asked about Linux on AS Macs. Running Linux in the cloud would equally easy.