Apple s online services still generate revenue as iphone sales continue to fall