I remember something like this in the movie Minority Report (2002).
“Remember that scene from Minority Report where Tom Cruise is on the lam, but the billboards know what he likes?
[Embedded YouTube video: Minority Report - Personal Advertising in the Future]
We’re not quite there yet; the Radar-enabled billboards aren’t making spoken sales pitches directly to customers. […]”