Legacy TV enlists AI to figure out a show's emotional vibe and add commercials that fit the mood | Fortune