What makes it safe in homes, businesses and schools:
Nothing makes mains power safe other than strict design guidelines enforced by various national and international standards. In the United States, the NEC or National Electric Code dictates how homes are to be wired and what devices are permitted and not permitted to be used. It governs things like how wiring is to be ran, how it is to be supported, terminated, enclosed, what wire types are permitted for a scenario etc.
For an electrical device, which can be anything from the receptacle box (box that mounts an outlet) in your wall to an appliance like a television must comply with various standards. These are standards were developed and maintained by various private and government agencies, many of them are international such as IEC. An example in the USA would be Underwriters (UL) Laboratories and Occupational Safety and Health Administration (OSHA).
What keeps you safe is the cooperation between manufactures and these various agencies. This ensures that an appliance connected to mains voltage is safe to use in its intended role.
Where that safe use ends:
Once you begin to work with mains power, e.g. you are an engineer developing a off-line switching power supply, then YOU are your own safety agency. You have to be careful and follow basic precautions.
What else makes it safe:
Education. Early on in life you are told not to mess with it. No sticking forks or fingers inside outlets, lamp sockets or toasters. This is taught to most children at an early age. Though, some of us were a bit more curious and ignored those teachings. It hurt but led us down a fantastic path to becoming interested in learning the nuts and bolts of it.
Ground fault circuit interrupters are usually only used for circuits that will have appliances connected to them wet locations. Any outlets near a sink such as in a bathroom or kitchen will have GFCI's. Also outlets located on the outside of a home are to be GFCI protected. But DO NOT ASSUME that. The mandate for GFCI's is recent and many old homes did not have to or didn't bother to upgrade.
They work simply by measuring the current of both legs. The current is always equal on both legs unless it is somehow making it out of the appliance. The GFCI detects the imbalance and opens a circuit breaker.
On users getting shocked by plugs:
US style NEMA 5-15 Plugs are generally safe enough as the prongs don't make immediate contact with the internal contacts. At that point the gap is normally too small for fingers to fit between the face of the plug and the prongs. Also, if you notice the plug face is quite large which increases the distance between the edge of the face and the prongs.
If your fingers were to make it across both the hot and the neutral then you get shocked. In fact you would have two paths for current, hot to neutral and hot to ground. How much does it hurt? Depends. Are you wet or sweaty? then perhaps it will hurt a lot or even kill you. Dry skin? It might be a quick buzzing sting.
Other thoughts:
120V or even 240V is not that high when you think about it. Power is transmitted at half a million volts on towers or more. It is locally distributed at 2.4-28.8kV on poles and can sometimes be as high as 69kV. Those mains voltages are a compromise between convenience and safety. In large commercial and industrial systems, 277/480V three phase systems are common. In Canada it was common to see 600V three phase systems (also called 550V or 575V systems, it varied a bit). Those higher voltages were for pushing more power down a conductor of the same size.