This isn't a common issue as I've never heard of it happening before, but my light switch came off in my hands on a short drive this evening!
It seems that the plastic clip flange has just given way under the pressure of the metal collar that locks it in place, all the bits are shown below.