I've seen these magnetic power cords on water boilers for a long time. We got one from Asia in the 90s. http://www.zojirushi.com/products/cvdyc
That may have merited a patent (if it wasn't already invented, and I suspect it was), but Apple's implementation does not.
For instance, determining the optimum layout of a mail application for a four inch screen probably takes a lot of tweaking and user testing. But there's no way that you can call it an invention, and your competitors are free to copy the layout, so long as they change the style enough that customers can clearly distinguish the products.
On the other hand, using a magnet to hold a power connector to a laptop seems like a really obvious idea once you've seen it. You don't have to study detailed documents to see how you could make it. But calling it an 'invention' seems reasonable - and it is patented. And it's perhaps the only thing that attracts me about Apple laptops, but that's not important right now.