Microsoft and Apple preceded the dot com bomb by several decades. (Microsoft 1975, Apple 1976)
Amazon was a company that was around and survived the dot com bomb (founded in 1994, roughly around the time of the beginning of the bubble) [though its stock took about 7 years to recover]
Facebook was post dot com bomb. (founded 2004)