> Would this be unethical if it was a human who heard rumors about a solution then attacked the problem, solved it and published first?

Yes.