MOUNTAIN VIEW, Calif.—Google has built a massive business organizing the world’s information, but it’s having a lot of trouble keeping track of its own bicycles.

Google maintains roughly 1,100 free, multicolored two-wheelers, known as Gbikes, for its employees to get around on its sprawling campus here. The program has inspired copycats across Silicon Valley and beyond.

But...