A Manhattan man killed his elderly roommate before trying to dispose of his body in the ocean, prosecutors said.