What is the right way to tax a robot?

What is the right way to tax a robot?