Both Meta and CoreWeave logged stock gains Thursday after expanding their existing AI deal, now valued at $21 billion.