A New York City police precinct commander is under investigation for allegedly telling officers to shoot the rapper 50 Cent, officials said.