The Postal Service is upgrading mailboxes with new technology to combat theft amid a surge in mail carrier robberies, sparking debate over police use.