Robot beatings to be outlawed in EU