K-theory homology of spaces