Artificial agency and machine learning in quantum science