Giannis Antetokounmpo fouled out as Greece were eliminated from the FIBA World Cup following a 84-77 win over the Czech republic.