Walt Disney Co. and YouTube TV reached an agreement to restore channels such as ABC and ESPN to the online video service.