The rocket was destroyed, but it made a pretty sweet Vine.

Cool, look at it controlling itself! COOL, IT'S OUT OF CONTROL!!!
Click the bottom-right for sound.

Last week, Elon Musk's private rocket company SpaceX attempted to make history by landing a Falcon 9 rocket under its own power on a GPS-enabled "drone ship" in the middle of the Pacific Ocean. The Falcon 9 had already delivered a Dragon space capsule loaded with supplies and Christmas presents to the International Space Station, but putting that into orbit was only half of the rocket's mission. It came within seconds of a successful touchdown (which would be a HUGE step towards reusable rockets and bringing down the cost of spaceflight) before the rocket ran out of hydraulic fluid to power its steering fins, which (as you can see in the Vine) caused it to suddenly veer off course and explode.

Sources: SpaceX on Vine | SciShow Space