A corked bottle of wine is quite resistant to breaking. The cork keeps the air in so it has nowhere to go when the bottle is struck and pushes back against the external forces.
It's not uncommon for somebody to have difficulty breaking a Champaign bottle while christening a ship.