Perhaps REST as the thing you do over http with http verbs won't be around.
But the architectural principle called REST will be around forever because it's essentially the same thing as functional programming.
That REST is cache friendly corresponds exactly to the way that pure functions are memo-ising friendly.
There are lots of things in tech that we just stop doing one day. They get replaced by a different hot new thing. I'm sure REST will not go extinct for a very long time, but it definitely could go cold, just like its popular predecessors.