Apple is beginning to close the gap on Samsung over shipments of smart connected devices, which includes computers, smartphones, and tablets. The Cupertino company grabbed 20.3% of the market by the end of 2012, according to IDC, while Samsung just about had the edge with a 21.2% share.