Millions of sleep apnoea sufferers could one day ditch bulky breathing machines in favour of a daily weight loss pill.