Square Enix and Platinum Games have confirmed that NieR: Automata is scheduled to release in early 2017 for PS4. In the wake of this announcement a new trailer has been released as well as details of the plot. In Nier: Automata players control the android 2B who is partnered with 9S and A2. These three androids are locked in a war with machine lifeforms, which have taken Earth from humanity. Humans have retreated to the Moon and have sent android soldiers in to clear out the enemy.
According to one sentence in the trailer this battle is futile, though why will be uncovered in NieR: Automata’s plot.
Source: Press Release