Yes, NASA did recover the shuttle's solid rocket boosters, but for a different definition of "recover." They fell into the ocean and required an expensive overhaul.
Also of note, the space shuttle missions were the first "reusable" systems. SpaceX is just starting out and they are already attempting it. Very cool!