The Las Vegas gunman who killed 58 people and himself in the deadliest mass shooting in modern US history stockpiled weapons and ammunition over decades and meticulously planned the attack, authorities believe.