It requires less expensive infrastructure than AI, and AI has tons of competitors.
YouTube simply enjoys a classic network effects monopoly, and that’s why their margins are high compared to any other business in the S&P500.