Software is a value investment because Oracle makes lots of money
Additionally, Oracle owns and operates a massive ecosystem that most people never see. The gigantic ecosystem gives Oracle vast amounts of value, Mr. Market cannot see.
Furthermore, Oracle claims to own over 18,000 patents worldwide. More importantly, Oracle estimates it had over one million members in 484 independent development communities in 92 countries. To that you can add the five million estimated members in the Oracle Development Community.