It's a little harsh and inaccurate to say that Erlang has no use outside of the telecom industry. WhatsApp and RabbitMQ are both written in Erlang and the popularity of Elixir is that you can use Ruby-esque syntax AND reap the benefits of running your app on BEAM. Erlang might be in decline but the Erlang ecosystem is on the rise thanks to Elixir.