Apple jumps more than 6%, set to open at record high after earnings beat