late 14c., "existing only in imagination, produced by (mental) fantasy," from Old French fantastique (14c.), from Medieval Latin fantasticus, from Late Latin phantasticus "imaginary," from Greek phantastikos "able to imagine," from phantazein "make visible" (middle voice phantazesthai "picture to oneself"); see phantasm. Trivial sense of "wonderful, marvelous" recorded by 1938. Old French had a different adjective form, fantasieus "weird; insane; make-believe." Medieval Latin also used fantasticus as a noun, "a lunatic," and Shakespeare and his contemporaries had it in Italian form fantastico "one who acts ridiculously."
fabulous adj.
early 15c., "mythical, legendary," from Latin fabulosus "celebrated in fable;" also "rich in myths," from fabula "story, tale" (see fable (n.)). The meaning "pertaining to fable" is from 1550s. The sense of "incredible" is recorded by c. 1600, hence "enormous, immense, amazing," which was trivialized by 1950s to "marvelous, terrific." The slang shortening fab is recorded by 1957; popularized in reference to The Beatles, c. 1963.
Fabulous (often contracted to fab(s)) and fantastic are also in that long list of words which boys and girls use for a time to express high commendation and then get tired of, such as, to go no farther back than the present century, topping, spiffing, ripping, wizard, super, posh, smashing. [Gower's 1965 revision of Fowler's "Modern English Usage"]