Schuko already existed in the 1930ies, but I have absolutely no idea when it first came up. The idea of grounding was introduced around the 1890ies according to an old code book I once got, but it didn't mention any plugs.