The inventor of the AK-47 assault rifle, Mikhail Kalashnikov, has died at the age of 94, Russian officials say.