Science has been chipping away at religion even since the church accepted that the world is not flat.