Google's market value surpassed Apple for the first time since 2019 as it rolls out updated artificial intelligence features.