Australia's biggest bank has issued a warning about the economy in the face of record-high immigration.