In order to build social housing (council houses) there needs to be a lot of money in the budget for that.
Same for public transport.
In Germany they built huge apartment blocks in the 60's to the 80's for all kinds of people in mind. Small flats for singles, 3 to 5 bedroom flats for families. Worked fine, despite the fact that they were usually on the outskirts of the cities.
Problems started when the companies owning these places had to rent to unemployed/ and or people with migration background. Today they are like ghettoes, with different gangs and all.
In Bremen, where my mother lives, exists this:
Bremen is not a big city, so commute within the city limits is between 30 to 60 min.
There are also parts of the cities where locals have lived all their lives, now nearing retirement or death. Pensions for working class folk have been cut drastically and many struggle to pay their rents. And as soon as their flats become available, depending on the area, it's either lifestyle flats for the better off or flats for migrants. So again, no room for working class singles or families.
In the 50's to the 80's families were building houses when they thought they had a good and secure employment.
With few exceptions, today no job is secure any more.
The last big wave of private house building was in the 90's, when the German government kindly handed 100.000,- DM interest free loans to returning "Germans" from Russia to help them integrate.
Some companies laid off workers above a certain age (usually around 55 to 60), offering them some sort of early retirement plan for a few years, but they eventually ended up on benefits for a couple of years and with a reduced pension.
Like in the UK, the German government has invented all sorts of schemes to "help" people find jobs, but the ones profiting from that are companies like Amazon, who get their workers almost for free. The idea was to give people work experience and get them into full time employment after one year.
Needless to say that they don't get to that stage. But they are out of the unemployment statistics, so the government looks good.
Here in the UK a lot of people are "self-employed" and / or on so called "zero hours" contracts. Which basically means that they don't get working hours/ pay if they aren't needed. Again, not in the statistics.