Increasingly, staying in the middle class - let alone aspiring to become middle class - is becoming a game of chance.