Regardless, it's a good analogy, but be careful how far you take it. There's a _very_ important difference between the energy and other major industries. It's a difference that the software industry shares, but in the opposite extreme: The amount of capital needed to do business.
The energy industry is notoriously capital intensive. For my employer, a project has to be over 250 million to be considered a significant project. We have a _lot_ of those, including multiple projects in the 10-50 billion range. Sure, I work for a very large company, but even a "mom and pop" oil company (there are a lot, actually) needs tens to hundreds of millions to get started.
By contrast, the software industry prides itself on being able to get an initial product out the door with essentially no other investment than time.
At any rate, it's a fine analogy, but keep in mind that the oil industry is _very_ focused on building _big_ infrastructure. In that sense, oil companies have more in common with independent nations than with other companies. It's something to think about, at any rate.