As younger, more affluent viewers defect to streaming video services, advertisers are spending more to reach them.