Your analogy is false. Google didn't copy the whole thing; they copied the API. THat's analogous to copying the chapter titles but not the chapter contents, far more than it is analogous to copying the whole book.
"Jack and Jill ran down the hill."
into
"Gil and Jacky descended the mound."
It's exactly the same story just with different implementations that exhibit the same behavior. They didn't make something compatible with Java -- they replaced Java with something exactly like Java.
It's even worse than the example above, because they kept the same names of the classes, interfaces, etc.