When I say "my thermostat tries to keep the temperature at 72", this doesn't mean I'm asserting anything about the thermostat having "goals" in some deep philosophical sense. It just means that the behavior of the thermostat can be usefully understood, in the relevant context, as goal-directed. (Likewise, "legs are for walking" even though legs were designed through a evolutionary process, etc.) We use this sort of language all the time, it's very useful, and it's mere pedantry to demand people not to. Likewise here, a machine can absolutely "learn" facts in the sense that it extracts them from the copyright-able creative choices in the text written by a human author.