Essentially the kettle just converts electricity to heat (very efficient) which heats the element inside the kettle which is transferred to the water surrounding it via conduction (also very efficient). There's almost no wasted energy, and you know that because the area around the kettle does not get hot.
Kettles do use a lot of energy because water requires a lot of energy to heat up - in fact it's among the highest of all substances (the measure of this is called the heat capacity or specific heat - the amount of energy to raise an amount of a substance by one degree Celcius/1 Kelvin.
If you want to be more energy efficient at boiling water, put only the amount of water you need in the kettle, rather than boiling extra, but obviously this is not a solution when scaling electricity infrastructure.
edit: I should note that Kettles are not completely efficient - there is still some energy loss (for instance, through resistance in the wiring in the kettle, and heat conducted to the kettle itself or radiated to the surrounding air).
1. But probably net less efficient in that the majority of houses in the UK use gas for their heating and gas is cheaper than electricy kWh for kWh in the UK.