The iPhone maker was one of many advertisers to pause ad spending in 2023 following controversial posts from Elon Musk.