It's correlated, but the causality may be reversed. That is to say, sleep apnea probably causes and certainly doesn't help, obesity. There is a strong relationship between not getting enough sleep, and appetite control.
There are also a lot of other causes of sleep apnea, physiology being a big one, also obstructions in the nasal canal.