That is an SRM head unit - a cyclometer that is connected to the power-measuring SRM crankset.
you're right, computers aren't allowed to be visible to the rider, so most riders mount their head units to their saddle or seatpost so it can still record their data.