Media businesses have been funded by advertising for hundreds of years (since the start of regular newspapers in the 1600s at least)[1]. Many internet businesses are more like media businesses than shops.
[1] https://en.wikipedia.org/wiki/History_of_advertising#16th%E2...