At the zoo near us they have laser pointers set up so that people can point the penguins at them, so that the penguins race around and get some exercise. So if it's fine for penguins, I'm sure it's fine for cats and dogs
I would be careful with keets though - I think with their teeny eyes the light is probably too powerful for them.