AI's Double-Edged Sword: How Artificial Intelligence Is Reshaping Software Earnings and Valuations