The tech giant saw a bump in advertising revenue from a year earlier, but its metaverse division continues to burn cash.