Seems like usual patent trolling - because there are many subtle differences such as the radii in only one direction on the GoPro, the chamfer details on the window opening, etc - I would expect that it would not hold up in court.

Design patents, unlike utility patents, do have classes. So while a cube may have been patented for D2 (Apparel and Haberdashery), it is possible Polaroid got the cube patent for D16 (Photography and Optical Equipment).