Microsoft defies tech slump as AI revenue hits $37 billion