Businesses have started using artificial intelligence to keep track of things like employees' working hours.