Thousands of people would lose work due to robots