I've found that the issue with being a remote employee is the employee part. My experience has been that trusting your job security to an employer is just not as safe as it used to be. Nowadays as a freelancer who works on mostly long-term contracts, it's possible that some of my clients wouldn't think much of replacing me, but if they do decide to stop using me, I can grab another contract. My office doesn't change. My machine is still my machine, i.e. they're often the more replaceable one.
However, and as others point out here, this only works if you have lots of experience in something highly in demand.
My experience is that remote work is the exception, not the norm. The only way to get stability as a remote employee is to have an exclusive skill or some other advantage over the other employees, eg. "I'm the only remote employee, but I'm the only one who is a proven data science whiz," "The company cannot find enough locals who know Scala," etc. And even then, your stability is still contingent on this supply/demand imbalance.
If you do those three things well, then you are no more disposable then any other employee.
When remote, the communication tools are different. Instead of walking over to talk to others, you're likely using chat, voice, or video calls. The meetings include shared screens with conference calls. After a meeting, you may chat or call someone for a private discussion. Those private discussions are likely how you build social bonds and get to know others personally. They can also make it clear you're available to help.
In the office or remote, your communication style builds a perception of how involved you are in projects, what you can contribute, and whether you're viewed as a needed or disposable.
There is something human about being able to see the person who is doing some work for you. To be able to say hello without agenda. Ask how it's going.
Yes you can do it with Slack and Skype but nothing beats walking over to someone.
In large companies, working remote made me feel disposable. Small companies, if you can get stuff done, you feel valuable while being autonomous.