Both formats were invented by Sony. Sony kept the BETAMAX format exclusive for itself due to the better quality of playback. It licensed VHS and in effect created a crowd of competitors who hit the US market first. The rest as they say is history.
VHS was developed by JVC, not Sony.
The Grundig/Philips Video 2000 system was (arguably) better than either.