Meta shares tumbled after the tech giant said it would increase spending to invest in artificial intelligence (AI), thou