National Basketball Association player Shaquille O'Neal is to endorse a line of shoes for sportswear company Li Ning Co.