At both NASA and Boeing I was tasked to work on a committee to do a five-year forecast for the company. They paid me for two weeks plus any travel expenses needed at one company, and four weeks plus travel on the other. So this is a semi-pro's perspective.
First, every system always has pluses and minuses. This certainly applies to printed books and electronic books. For them the pros and cons of each tend to be complementary.
________________________
Briefly, ebooks are highly portable; you can put thousands of books on one device. Printed books require no power or special device and are sturdier.
Ebooks allow you to do sophisticated processing of the text, such as instant dictionary and thesaurus and encyclopedia lookup, and posting of favorites and comments on social media. Printed books offer a more ergonomic experience because of centuries of trial and error and careful thought. (Ebooks are improving in this regard but still have a way to go.)
And so on.
________________________
Special-purpose ereaders and multi-purpose ereaders similarly have their pluses and minuses, and tend to be complementary. Single-purpose devices tend to be much cheaper and sturdier and last longer on a charge. Multi-purpose devices offer a more ergonomic reading experience and can do many more functions than otherwise, because they are powerful computers.
There is much technological research to make these devices cheaper and more powerful. This will speed the introduction of them into the poorer parts of the world, as they've done with cell- and satphones, and give the providers a wider market. (I foresee the day (not very near!) when the cheapest ereaders can be given away the way junk mail is today, and every household has dozens lying around.)
But print tech is advancing too, and has been for more than a century. For the same price "pbooks" today are larger, sturdier, and more flexible in their content than in past decades. Also, printers are becoming smaller, faster, cheaper, and deliver ever-better quality, which allows smaller print runs to be more economical. Print-on-demand is becoming a viable publishing method, though it still has a good way to go.
BOTTOM LINE: Literacy is evolving and growing in numbers and quality all over the world. It is in no danger of slowing down, much less dying.