Welcome to the forum!
That is your ABS hydraulic pump motor, and it sounds like the bearing might be worn out. I haven't seen a lot of posts about this problem, so don't think it's as common as most.
It might also have something wrong with the control module attached to it. I mean normally the motor wouldn't keep running while the vehicle is sitting there parked, so if the motor was continuously running, could be why it has worn out the bearing. This is only a wild guess. I mean the cause, what is pictured is definitely the ABS motor.
They are not cheap! Some members at this point, would just delete ABS by running the brake lines direct to the master cylinder, with a T-fitting from master cylinder to the left and right front brake lines since there is only one front line port on the master cylinder. There may be more to it than just that. Some model years need the electronic module attached to it, to generate the speedometer signal, so it's not a complete delete, and obviously you wouldn't want the ABS motor continuously making that noise or getting worse.