If people are in a program thst may get help. Some people are adept at getting into programs Technically people may be able to get help from various programs for the deposit. In addition some buildings do allow people to pay in installments
As for electricity. Most utility companies offer income based assistance. The threshold for that varies Thereafter some section 8 programs offer a utility allowance
All of these things vary by county /state
At this time where I live most of the extremely low income units are reserved for people in certain programs Thereafter the income goes by the percentage of Averafe incomes. That can go up.to 80% of the average income
Even those programs offer housing by a lottery system
However people can get on waiting lists in various buildings