I wrote this command my self it took 5 hours of work..... It's 5000+ charecters long
The robot can place and destroy block he can move forward,backward,left,right,up and down.
And much more, copy and paste into a command block and power it.
You will get a spawn_egg place it down to get the robot, you control the robot with your chat.