…company and strikes it rich.
I rented this movie from redbox in 2014, though I believe the movie was a bit older than that. The young boy ran away from home, got on a train and headed to Texas where the oil boom was. He worked his way up and eventually owned his own oil company.
Not quite what you described, but there is a boy on a train, an oil boom, and someone that eventually owns an oil company.
There Will Be Blood (2007). http://www.imdb.com/title/tt0469494/