YouTube is said to be seeking out licensing deals for television shows and movies as it fortifies its position in an online video arms race with competitors Netflix, Amazon and Hulu, a sector Apple could wade into next year with a rumored over-the-top streaming service.