Given enough time, anything can, and will, happen.
Much of what is credited to the spooky actions of ‘natural selection’ are nothing more than a pathetic boring law of averages playing itself out over time and across space. The act of choice is nothing more than victory in the competition to reproduce fastest. Adaptation is the convergence, accidental or otherwise, of skill and opportunity. No beaver ever asked for a big-ass tail, but it works well for paddling water. No owl ever asked for night-vision goggles, but it works well for such. The science of evolution is simply a roll call of those left standing.