I don’t think this is only by luck. Singapore made the decision to ‘pay the bureaucrats well’ so that they can build a career on it. This attracts more people to be a bureaucrat. The alternative is that only already rich people become politicians and bureaucrats or bureaucrats only getting their bag by joining lobbying firm after their time in government.
IMO, the hard part about implementing this ‘pay the bureaucrats well’ system is that it is often hard to determine the market rate as there are often no equivalent roles in the private market.
tbf that applies to all democracies, including genuinely competitive multiparty democracies. Would PAP accept defeat and cede power if they handled a crisis so badly an effective opposition party emerged? That's unclear, as is how many of their appointees would support them in that goal, though it is considerably more likely than nations which do not attempt to hold representative elections. But we've also seen the answer to questions of how much success will someone have in explicitly overriding democratic norms and revelling in open corruption be plenty in the United States with all its storied separation of powers and tradition of political freedoms, and perhaps more surprisingly he gave up quietly to wait for the next election was the answer to what would happen when a narrow majority rejected a guy who'd spent years turning Hungary into his personal fiefdom....
The other quirk about the PAP's paternalism is how many of their authoritarian type policies have been primarily driven by a culture of trying to avoid upsetting people, hence years of doublethink on homosexuality and newspapers being told that publishing aerial before and after photographs of Singapore's coastline might be a touch too provocative towards their neighbours.
democracy failed America
There's a reason why every single democracy to turn authoritarian in the last 60 years has been presidential or semi-presidential.
The only parliamentary democracy to turn authoritarian since the 60s has been Sri Lanka, there's not a single other example.