Consider the following related thought experiment. We have an interferometer with a polarizing filter in each path. Assume when the filters are orthogonal to each other we can potentially deduce which path an individual photon took. Each polarising filter is in a sealed black box (sealed except for a path in and out for the photon). Attached to each filter is a mechanism to randomly alter the orientation of the filter once per day. E.g. the orientation can be based on the decay of a radioactive substance. There is no communication between the two filters and no recording devices to record the positions of the filters on a given day. We can be pretty sure on some days we will consistently see an interference pattern and on other days we will not. No sentient being in the universe knows the positions of the filters on a given day and there is not even a computer or some such device that 'knows' the relative orientations of the filters on a given day, but still the interreference pattern disappears on some days. Now unless the universe has decided that on e.g. Mondays it will have a non interference day, we can conclude that the breakdown of the interference is not due to knowledge of some being, sentient or otherwise. It is simply that any potential measurement device in the path of the particle disturbs the trajectory, wavelength or polarisation etc of the particle and this can cause the breakdown of the interference pattern (as Bill Alsept mentioned in the comments).
It is also worth noting that the early universe evolved according to the rules of quantum physics, long before any sentient beings or observers evolved. they are not required. An observation is simply an interaction of a quantum particle with other particles. The rule is that if an observer could potentially deduce the path of a quantum particle, then the interference pattern breaks down, even if there is no actual sentient observer "knowing" the path.
Another example of an experimental setup is to consider the mirrors that are conventionally placed at the corners of an interferometer to redirect the photons. If these mirrors are made small enough and mounted in such a way that they can move, then when a photon bounces off the mirror, the mirror recoils. The recoil of the mirror alters the wavelength and trajectory of the photon and the interference pattern can break down. This is "because" the recoil of the mirror could potentially be used to detect which way the photon went, even if no sentient being makes that observation or conclusion.
In conclusion, any "measurement" requires something physical to interact with the quantum particle being "observed" and in so doing can potentially alter its path or nature (eg polarisation) which can lead to breakdown of the interference pattern. Any pop-science books or videos that claim a conscious or sentient being is required for quantum effects to take place are simply nonsense.
EDIT: To more directly address your particular thought experiment, consider that to see an electron pass through a slit, photons have to bounce off it ang go to a detector. These photons bouncing off the electron alter its momentum. We can reduce the alteration of the the electrons momentum by reducing the intensity of the light source (amount of photons). Now imagine the detectors are CCD chips. When there is absolutely no illumination, individual pixels of the CCD light up randomly due to quantum noise, so it is difficult to tell if a single pixel lighting up is random noise or an actual detection of an electron. We can reduce the uncertainty by increasing the intensity or frequency of the illumination but in so doing, we progressively increase the deflection of the electrons momentum in turn increasingly breaking down the interference pattern. This is basically the Heisenberg uncertainty principle at work.