The K-theory of perfectoid rings