According to the Bible in general and Genesis 1:27 in particular, Adam was the first human ever created. Adam means man because he was the first person to have a soul (or in Hebrew שפנ), the neshama. That is not to say that Adam was the first Homo sapiens. Adam and Eve had a mother and a father like you and me.
What did Maimonides and Nahmanides say
Maimonides in The Guide for the Perplexed (part 1 chapter 7) explains that ainamls co-existed with Adam; identical in shape and remarkably intelligent, but lacked the neshama. This made these people animals, respectfully. Seven centuries before Darwin, cave men (pre-Adam hominids) walked with Adam. Genesis 1:26, G-d says “Let us make Adam.” In the following verse, G-d creates “the Adam,” the Adam, a new kind of man [a nuance in the text]. This nuance does not exist in the English translation of the text; only in Hebrew.
Additionally, the Mishna mentions “masters of the field” and explains that these "masters" were not people; but animals identical to humans, which implies farming and cultivating the land that pre-dates the Adam of Genesis. Now you have agriculture pre-dating Adam?
Nahmanides a kabalistic commentator discuss Genesis 2:7, explaining that Adam became a man when G-d infused the soul into his body. The Ramban calls this change, “another kind of man.” What is this change?
Does the Bible mention this change?
Yes. Genesis 2:7 reads:
“The L-rd G-d formed man of the dust of the ground, and breathed into his nostrils the breath of life; and man became a nefesh chayah.”
Onkelos does not render this simply as “a living being,” but characterizes this as man's ruach m’mal’la, “one with the power of speech,” a phrase denoting a certain level of intelligence.
What about the Cave men?
Although people have been farming for thousands of years, Adam was the first person with actual intelligence. Maybe an inventor of some sort. Cain, his son would go on to build a city. Now you have civisilation. The problem lies in the mistakable term of Cave men. The wrong assumption lies in the "men," they were not men until G-d gave Adam a soul.
If scientists someday generate new human bioelectronic species (machine-like) in the form of terminators, it will not pose a threat. Robots have no emotion and are not afraid of death. Therefore, the robot is deprived of its soul. They are intelligent and thus may not be animals, but will lack consciousness. Adam was given a soul, in addition to everything else that machines could not have, despite the superiority of intelligence.
 It is noteworthy to mention here that G-d made only one kind of man, not two. After Adam G-d never made a "new kind" of man. Thus, Jews and non-Jews share the same soul.
 Historians have noted that little farming communities existed for thousands of years and that people could have been on this earth for millions; but cities did not appear until about 5,000 years ago, the time of the creation of Adam in the Bible.