Nasdaq and Tesla ink $5B battery deal