I'm thoroughly impressed with the new crop of musicians I'm seeing. YouTube is helping to create 12yo virtuosos. Guitar and bass sales are up and music lesson videos get millions of views, so I don't think the bass's demise is imminent. I also see a lot more females playing guitar and bass than I used to. There was a discussion about St. Vincent here just a few days ago. (Old people weren't that into her.) Rick Beato has remarked several times that females are the ones pushing guitar and bass forward these days.
Essentially, I believe the electric bass guitar is going to stick around for the foreseeable future, and I believe that some folks will continue to prefer old-style ones, and some others new-style. As I get older, something like a Dingwall or an Ibanez EHB is becoming more and more inviting.
In any case, history shows that predicting the future is a fool's errand. Anything could happen.