1706, "a cabinet; an ornamental base structure," from French console "a bracket" (16c.), which is of uncertain origin, possibly from consolateur, literally "one who consoles" (see console (v.)), being used somehow for carved human figures supporting cornices, shelves or rails in choir stalls. Another guess connects it to Latin consolidare "to make solid" (see consolidate).
The sense evolved to "body of a musical organ" (1881), "radio cabinet" (1925), then "cabinet for a TV, stereo, etc." (1944). Console-table is attested from 1813.
<a href="https://www.etymonline.com/word/consol">Etymology of consol by etymonline</a>
Harper, D. (n.d.). Etymology of consol. Online Etymology Dictionary. Retrieved $(datetime), from https://www.etymonline.com/word/consol