The fact that Musk thinks Twitter is a software and server company is why he is shedding billions of dollars. Twitter software isn't all that innovative. It does take a lot of work to run a microblog site with the volume of Twitter, but it isn't like creating self-driving cars (which his other company is failing at).
The value of Twitter is, or rapidly was, its community. He doesn't seem to grasp the social part of Social Media, and that's why he rolled out a subscription Blue Check program with disastrous results. The blue check was valuable because you couldn't buy it. Lots of people want to find Stephen King. Very few people want to find my account. Nobody wants to find Steven King (blue check mark). But if paying $8 a month prioritizes my posts and the fake King over Stephen King's, people will leave the platform.
The coding part of allowing people to buy a blue check was simple. They pushed it out in under a week. The social part of letting people buy a blue check was a disaster that led to impersonation of accounts, hid content people wanted to find, and destroyed the trust that Twitter spent years building in the community of users that joined Twitter to find content from authors, entertainers, journalists, and brands.