Basically, Eli Lilly lobbied the FDA to approve GLP-1's for patients with sleep apnea, as a large majority of patients with sleep apnea are fat slobs and by reducing their weight, they in turn reduce their obstructive sleep apnea.
If I went into my doctor and asked for a GLP-1 for sleep apnea he would laugh so hard he would fall out of his chair. He would likely say the only thing choking you out while you are sleeping are the giant veins popping out of your neck. Nice try bro! Haha.