Seems like a Canada problem, not a capitalism problem. Germany is a capitalist country where things are kind of okay. France is a capitalist country and they banned throwing away food that's is still edible. Many countries tax residential properties that are empty, encouraging renting or selling them and fueling supply. There are easy and straightforward solutions to all of those problems. You just need to vote for people willing to implement them.
And those are not tax havens or microstates, BTW. I'm talking about countries with 50+ Million people, a lot of immigration, and not even a lot of natural resources. For countries with oil look what Norway is doing. Also capitalist, BTW.