How did Facebook manage to take over anyway?

I remember when everyone and their mother had a Myspace.