Alphabet subsidiary Verily is teaming up with well-known sleep company ResMed to form a new venture that will focus on developing sleep apnea treatments and connected health products.