Amazon cuts jobs in artificial general intelligence unit