MUSEQuBES: the kinematics of O VI-bearing gas in and around low-redshift galaxies