A $1.6 billion ammonia project in the Pilbara has been granted major project status by the federal government.