US sporting giant Nike has booked higher second-quarter earnings on stronger demand in China and its domestic market, while indicating a potential rebound in its basketball business.