Capital war reshapes markets amid AI funding