Robotic bat