AI appeals to capital because it allows them to replace Intellectual Labor with unskilled labor who can be trained to prompt an AI with little-to-no education and pay comparable to entry-level blue-collar and service jobs.
So I think I have an explanation that makes some amount of sense in the logic of capitalism, but you'll need to bear with me here. My experience comes from legal practice and academia and not tech, but I've been watching this process play out in every "white collar" field.
The tendency has been to equate "blue collar" with "working class" and "white collar" with "managerial/professional class." There may have been a time when that was accurate, but it is probably more useful today to split the managerial/professional class into two strata: Executives and Intellectual Labor. Since the M/P class emerged as a force, it has served two functions: The first is to offer a place for the non-inheriting children of the capitalist class to land, while the other is an upward mobility outlet for the skilled children of the working class. In the mid-20th century, the formula for upper social movement was for a working-class kid to go to college to enter a white-collar job, work their way to upper management before starting their own firm to join the capitalist elite. It is the emergence of these paths that has helped keep capitalism stablish for the last century in the west.
The neoliberal "revolution" of the late 70s/early 80s and the tech sector explosion that started in the 90s caused the gap between the Executives and Intellectual Labor to spread into a chasm while also narrowing the gap between the Executive stratum and the upper stratum of capitalists. The AI "boom" is largely being driven by this blurred archcapitalist/executive wannabe aristocracy who no longer relate to the Intellectual Labor stratum they no longer tend to rise from. They now see Intellectual Labor as workers they have to pay more for some reason.
AI appeals to this group because it allows them to replace Intellectual Labor with unskilled labor who can be trained to prompt an AI with little-to-no education and pay comparable to entry-level blue-collar and service jobs. That's basically the goal. AI enthusiasts are either part of this group, believe the AI won't eat their face, or are people who think they could do the lawyer/artist/psychologist's job better if they didn't need to put in all the work to become an expert.