Would-be robber shot