A book author is absolutely expected to have social media and it can be quite critical towards whether they succeed or not. In fact for any kind of artist is.
Even as a software engineer, yeah you can do without it currently because of how good the job market is but playing the social media game right can offer a huge career boost (or malus if you are not careful). So not engaging with social media or not engaging strategically leaves you at a clear disadvantage.
Humans have a strong desire to be accepted by the group because that is critical for survival. And these days, being good at social media, having many followers, is a huge survival advantage. It directly translates into opportunities to make money, towards job offers, towards networking ability, towards finding a new apartment, being able to do a GoFundMe if you have been ruined by medical bills and so on.
So no, people are no doing it to themselves. They have to play the game.