When AI goes haywire: The case of the skyscraper and the slide trombone

Artificial Intelligence (AI) is now part of our everyday life. It is perceived as "intelligence" and yet relies fundamentally on statistics. Its results are based on previously learned patterns in data. As soon as we move away from the subject matter it has learned, we're faced with the fact that there isn't much that is intelligent about it. A simple question, such as "Draw me a skyscraper and a sliding trombone side-by-side so that I can appreciate their respective sizes" will give you something like this (this image has been generated by Gemini):