Federal Treasurer, Josh Frydenberg, has called on state governments to spend more on social and affordable housing.