A robot is playing with lego blocks in a miniature city.