Machines are more productive than humans until they aren't, and vice versa