Sporting goods giant Nike has beaten earnings expectations in its third-quarter thanks to the strength of its namesake brand, gross margin expansion and strong sales.