Prime Minister Theresa May has promised a full public inquiry into the fire that destroyed Grenfell Tower and killed 17 people.