Russia says it thinks the top threats to its future security will come from NATO expansion and rivalry over energy resources .