Sportswear giant Nike Inc has apologised for a banned footwear commercial in China that featured an attack on a kung fu fighter.