I agree that we are are going to have bias until AI can referee a game. It will come. Goal line technology works. Offside is close.
Another factor to consider is the size of penalty boxes. They were designed for a bygone era. In today's game a foul on the edge of the box leads to a reward way too valuable. Football should copy hockey and have a smaller box and something akin to a short corner for lesser fouls. Maybe.