laptops or pads with looping software are even cheaper than those: learning to run the software is much faster than learning to play an instrument and WAV packages of predone loops get the timbres of all the music heard on pop radio these days (you dont even have to know music theory, chord construction, or what key the song is in). Also, VSTi instruments are also cheap and their tech to emulate is off the charts these days...my 7 year old knows nothing about music, but can slap loops together in Acid and usually come up with something that sounds better than most budding guitar players can sound like.
this thread makes me think of all those trombone players in swing groups in the early 60s, who thought they had job security forever and didnt feel threatened at all when the electric guitar combo mop-tops from across the pond landed in America with their "Yeah Yeah Yeah" sound
and, like anything else, now that is also moving on
The guitar isn't dying, just like the trombone isn't dead either --- like swing music there will always be a market......but as we move forward in time and technological advances are what they are, all you "nay sayers" are just burying your head in the sand to not see that the electric guitar combo is nothing like it was over the past several decades and is now at the beginning of making its slow transition from mainstream market to niche market