All this kind of ugliness long pre-dates AI. My guess is the training data set is full of this kind of crap.
Don't forget carousels! And scroll hijacking!