Comment by david-gpu
From a few minutes on Google, it appears like most developed countries require a prescription to purchase a CPAP device, including the US (varies per state), Canada, UK, Australia, Germany, France and Italy.
The most notable exceptions I find are Japan and Singapore, where it can be purchased without an Rx.
I think those places need a prescription in order for insurance to pay for the machine, not to buy the machine.