Property investors from overseas are about to be temporarily banned from buying established homes and given less time to build dwellings on vacant land.