Electronic Properties of NiO at Ultrahigh Pressure