Startups don't have to realize that they need to start monetizing right away.
Companies that buy startups need to realize that if they buy a startup that has only free users who aren't looking at ads, they might not be buying what they think they're buying. Because those millions of users have all been trained to expect to enjoy the service for free. So when you buy a company for its user base, you need to consider that free users are not worth what paying/ad-viewing users are worth, and if you try to charge or show them ads without creating more value for them in return, many of them might leave.
If companies that buy startups realize this, then the startups themselves will start monetizing right away, because it will be the only way to get acquired.