Machines could, presumably, become good enough at hammering at solutions. But they won't be very good at finding questions. Because questions are infinite. And to a machine, all these questions are the same.
Questions are "good questions" because they are good questions *to* humans. And that's what makes human mathematicians (and scientists) so important