I think you’re misreading it. In the same way as there are people that need to ride on planes (for example for their job, or to move to where they have a job, etc), there are people that need to use social media.
For example, if you own an online store you really need to have a social media presence. Same if you are an artist, and live off of commissions. I’m sure there are plenty more examples.
Assuming you are talking about in the US, shelter is included in inflation calculations. You can argue about the methodology, but the cost of having a home is in there and does contribute to inflation. It is about 30% of the overall basket.