A New York Yankees minor league player has tested positive for coronavirus, becoming the first known baseball player affected by the outbreak, the team confirmed.