Amazon founder Jeff Bezos is now the richest person alive, but he didn't acquire his wealth overnight.