Robber shot while robbing a motel in Waco