My thinking is Erlang’s been powering massive systems since the early 90s, I’m feeling pretty good about its longevity.
Many of Elixir’s strengths are Erlang’s strengths.
I wouldn’t hesitate to learn some Elixir if it’s interesting to you. It’s not as pervasive as other languages but it’s not niche either.
Full disclosure, it’s been such a wild success for my team at New Relic the last 5 years that I’m very biased :)