Standard Oil actually did start out as a toy. They provided oil to burn in lamps. At the time most people thought that was a somewhat silly gimmick and a fad that would quickly pass. Oil in general was seen as something neat but not essential for years. But just like facebook, many people soon came around to the idea and it took over the world. Titan: The Life of John D. Rockefeller, Sr. covers this all in incredible…
This is a bit skimpy on the details. I highly recommend every American adult to read The Prize: The Epic Quest for Oil, Money, and Power. It will change the way you think about the world. It also shows how Rockefeller was able to pivot his business from kerosene lamps, which were on the way to obsolescence, to fuel.
I'd also very strongly recommend Vaclav Smil's Energy and World History (1994) or the updated Energy and Civilization (2017). These describe history through the lens of energy sources, and the role of energy in that history.
Manfred Weisenbacher takes on much the same story in Sources of Power, which is a more comprehensive, if uneven, book. Excellently researched (and drawing heavily on Smil as well as many, many other sources), but could use some trimming and occasionally verges strongly to the polemical.