You're asking two different questions: 1) are facts copyrightable and 2) is scraping legal.
US jurisdiction:
Facts can't be copyrighted, but their presentation can be. A good outline that doesn't need to be repeated is How can "factual" intellectual property be protected?
And from What Does Copyright Protect? (FAQ) | U.S. Copyright Office
Copyright does not protect facts, ideas, systems, or methods of
operation, although it may protect the way these things are expressed.
Regarding Wolfram, their Wolfram|Alpha Terms of Use states that:
The specific images, such as plots, typeset formulas, and tables, as
well as the general page layouts, are all copyrighted by Wolfram|Alpha
at the time Wolfram|Alpha generates them. A great deal of scholarship
and innovation is included in the results generated and displayed by
Wolfram|Alpha, including the presentations, collections, and
juxtapositions of data, and the choices involved in formulating and
composing mathematical results; these are also protected by copyright.
and regarding harvesting and scraping:
Data Mining and Reverse Engineering
The Wolfram|Alpha service uses large collections of data aggregated
from many sources, and sophisticated computational and natural
language processing algorithms. You may not use multiple queries or
specially constructed queries in an attempt to extract large datasets,
to reverse engineer the algorithms used by Wolfram|Alpha, or to probe
for vulnerabilities.
Spidering, data-mining, scraping, or probing Wolfram|Alpha, or
otherwise attempting to abuse the service, is not only a violation of
these terms but may also constitute violation of federal and state
laws concerning unauthorized access to computer systems.
Regarding IMDB; that's a different animal; their "data" is comprised of copyrighted images, reviews; some of the data could be construed as facts, such as what moved Clint Eastwood starred in. But the Conditions of Use - IMDb says that
All content included on this site in or made available through any
IMDb Service, such as text, graphics, logos, button icons, images,
audio clips, video clips, digital downloads, data compilations, and
software, is the property of IMDb or its content suppliers and
protected by United States and international copyright laws. The
compilation of all content included in or made available through any
IMDb Service is the exclusive property of IMDb and protected by U.S.
and international copyright laws. All software used in any IMDb
Service is the property of IMDb or its software suppliers and
protected by United States and international copyright laws.
and regarding harvesting and scraping:
Robots and Screen Scraping: You may not use data mining, robots,
screen scraping, or similar data gathering and extraction tools on
this site, except with our express written consent as noted below.
So,
On the other hand if I curated lots of data and even gathered my own
statistics and facts, is there anything to prevent someone else taking
all that data and presenting it in their own software, book or film?
It depends on the nature of your statistics and facts, if indeed they are really facts as outlined in copyright law; if so, they could be copied. The presentation of them would be copyrighted. But whether or not they are really facts remains to be seen, either by your usage or possibly by a court in the event of a dispute.