A North Korean rocket carrying its second spy satellite exploded midair on Monday, state media reported, after its neighbors strongly rebuked its planned launch.