crime- Is strongly correlated with poverty, which has been rapidly reduced globally thanks to technological innovation
Housing- Will be solved by tech making remote work viable and thus reducing demand in cities. Automation and some form of income stipend could also allow people to live in more affordable places rather than cities.
Your view of "tech" is pretty stunted if you only think web apps.