Former chancellor George Osborne has called Prime Minister Theresa May 'a dead woman walking' following her election performance.