I might be in the minority here, but I don't think so whatsoever.
As a vehicle for songwriting, the guitar has probably seen better days, but the absence of guitar-oriented rock isn't necessarily an indication of the guitar's demise. Genres change shape and effect different tonal demands from the guitar, but it's been centric to the classic interpretation of a "band" since the late 1950s, and I don't think it's stopping any time soon.
By my estimation there's at least 50 million people in America that play or own a guitar, most under the age of 55 or so (basically encompassing baby boomers onwards). The guitar manufacturing industry itself is enormous and shows no signs of slowing any time soon.
If anything I'd say the guitar is too dominant, too omnipresent. When's the last time you saw someone playing a saxophone or trumpet on a balcony at sunset? It appears to me that there's just too many people that choose the guitar over other antiquated (or even tech-heavy) instruments.
I don't think computer-generated music is a fad or that the guitar will always be around (God knows the mellotron didn't last

). But suggesting that it's dying sounds absurd to me. The guitar is far too endearing, far too symbolic an instrument for it to simply vanish off the face of modern music.