The difficulty is, people can still scrape the data. That data scraping is likely to cost Twitter more than the API did, as they have to serve up the full page.
Yes, you can try to block people doing that, but historically people haven't succeeded.
scrapping data at scale is much harder that you are making it sounds like. Especially is the company is trying hard to prevent that. Much cheaper just to pay for the api.
LinkedIn tries hard to prevent scraping, but there are third parties doing it, and then re-selling it. Each user is presumably paying a fraction of what the scraping cost.