All of those would keep on existing if Meta died today, so who cares? Are you saying we have to keep permitting Meta to help governments oppress people and enable teen suicides just in case we get another React? that is silly
banks protect your money so you don't have to keep it under your mattress and get easily stolen. governments build roads and give you clean water. what are you on about? you know Walden was a total lie right?
most work in software jobs is not making one-off scripts like in your example. a lot of the job is about modifying existing codebases which include in-house approachs to style and services along with various third party frameworks like Spring driven by annotations, and requirements around how to write tests and how many. AI is just not very helpful here, you spend more time spinning wheels trying to craft the absolute perfect script than just making code changes directly.
Java has problems now that Oracle is in charge. upgrading Spring/Hibernate versions is really painful when you have to switch to Jakarta imports all over
just like with crypto and NFTs and the metaverse, they are always focused on what is suppsoedly coming down the pipe in the future and not what is actually possible today