A baseball player has broken his bat in the middle of a swing.