David Lee, who helped the Golden State Warriors to the 2015 NBA title during a 12-season career, has announced his retirement on Instagram.