Scholars accept the possibility of a hadith being 'wrong' based on its matn (the content reported). Al-Sakhawi (d 1497) quotes Abu'l-Faraj ibn al-Jawzi (d.1200) in Fath al-Mugeeth:
وكل حديث رأيته يخالف العقول، أو يناقض الأصول، فاعلم أنه موضوع، فلا
تتكلف اعتباره، أي: لا تعتبر رواته، ولا تنظر في جرحهم. أو يكون مما
يدفعه الحس والمشاهدة، أو مباينا لنص الكتاب، أو السنة المتواترة، أو
الإجماع القطعي ; حيث لا يقبل شيء من ذلك التأويل.
Every hadith you find against intellect or (find it) contradicting
(well-established) principles, rest assured that it is fabricated.
Therefore, you do not need to consider it i.e. do not take into account
its narrators and do not look into their criticism. (Similarly,) if it is
against senses and observations, or either in contrast with the
Qur'an or Al-Sunnah Al-Matwatira (the well-established practices) or
decisive consensus; such that it does not accept any other
interpretation.
Therefore, if you are sure that hadith you have quoted has been falsified by modern day knowledge you may not accept it as a prophetic saying.
However, narrators may miss some important piece of information while reporting. This may lead to contradiction with what we know for sure. It is usually recommended to collect all reports on a subject to fill the gaps and see if the apparent contradiction is resolved.