What it has anything to do with the moral values?
Work from home is the new normal and it's the fact that we can't change and that's what the evolution of internet will lead to anyway sooner or later if COVID hasn't interfered in midway and forced everyone to work from their place.
Work from home is actually good for the company too, they no need skyscraper offices, no need to spend huge money in electricity bills and work at everyone's convenience.
The world is rapidly moving towards becoming a smaller village with the inception of new technologies daily and as such some things are there that are going to be stopped. The new generation of Gen Z are definitely those who are exploiting things like working from home to ease not just the workers but the company too some extra expenses that would have been spent on a physical working environment. But still I will say that the act of working all from home to me is certainly not attainable for all companies no matter what because, some companies would definitely need a physical establishment before they can earn the massive trust of customers to prioritize them. A total work from home would certainly cast doubt on the effectiveness of the services.
The Tech Industry are easily the most effective setups that can easily venture into the work from home thing because they usually do not need edifice to show the customers or consumers that they can be trusted. But for sectors like health and educational services then a work from home wouldn’t be enough for the clients even if it is a consultancy.
Elon is a scumbag and his opinions are worthless. He got rich because he was given a bunch of money and was lucky enough to be in the right spot when Paypal needed a cash injection in the early days. He is far from a genius, he was just able to accumulate enough money from other peoples hard work and then decided to go on a Twitter spam fest. He's been known to do insider trading, has a brutally thin ego that reacts badly to offense when he is shown up as a clown and has wasted huge amounts of money ($20 billion+ overpaying on Twitter alone). He wants people in his companies in the office so he can squeeze all of the energy out of them, but it is not good for the workers.
Personally what I will say i deduced from the relaxing of worker working from home for the then Twitter and now X by Elon Musk was just to me a thing of cutting down expenses on the company. Elon Musk even though regarded as the richest man currently took a major hit when he bought the then twitter company. If we recall it was also the period where inflation was threatening a lot and he had to cut his loses like the way other companies do during recessions. He must have weighed the value of this workers and felt like those working from home could actually be less effective and that’s why they were the targeted ones to lose their jobs